lkml.org 
[lkml]   [1998]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.378 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site