Re: [patch] "HT scheduler", sched-2.5.63-B3

Jeff Garzik (jgarzik@pobox.com)
Thu, 06 Mar 2003 11:01:55 -0500


Pardon the suggestion of a dumb hueristic, feel free to ignore me:
would it work to run-first processes that have modified their iopl()
level? i.e. "if you access hardware directly, we'll treat you specially
in the scheduler"?

An alternative is to encourage distros to set some sort of flag for
processes like the X server, when it is run. This sounds suspiciously
like the existing "renice X server" hack, but it could be something like
changing the X server from SCHED_OTHER to SCHED_HW_ACCESS instead.

Just throwing out some things, because I care about apps which access
hardware from userspace :)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/