Messages in this thread | | | Date | Mon, 10 Aug 1998 18:07:42 +0200 (CEST) | From | Rik van Riel <> | Subject | Re: idle priority |
| |
On Sun, 9 Aug 1998, Solar Designer wrote:
> Can we get something like this into the standard kernel, finally? > > --- linux-2.0.35/include/linux/sched.h Sat Jul 18 22:54:22 1998 > +++ linux/include/linux/sched.h Wed Aug 5 06:30:50 1998 [SNIP]
Your implementation has just one problem: it doesn't do task switches of multiple SCHED_IDLE processes, since they all have the same priority and they don't change position on the runqueue.
It will need the same place-changing behaviour that SCHED_RR tasks get upon entering schedule()...
Except for this detail, this is an exceptionally clean looking patch and it really should go into the kernel before 2.2 (this might get far more sysadmins and other folks to run rc5des or more useful clients on their machines/servers; this could give a lot more computing power to those projects)
Rik. +-------------------------------------------------------------------+ | Linux memory management tour guide. H.H.vanRiel@phys.uu.nl | | Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ | +-------------------------------------------------------------------+
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |