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

From: Jeff Garzik (jgarzik@pobox.com)
Date: Thu Mar 06 2003 - 11:01:55 EST


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/



This archive was generated by hypermail 2b29 : Fri Mar 07 2003 - 22:00:32 EST