---1480530994-648510093-908787008=:2977
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.3.96.981019110340.2977E@Linuz.sns.it>
On Mon, 19 Oct 1998, Max <max@Linuz.sns.it> wrote:
> a friend of mine (Marco Bodrato <bodrato@linuz.sns.it> ) wrote a
> tiny patch that allows nice 20 tasks, which get executed only when
> the kernel has no other (normal or real-time priority) tasks to run.
>
> As I said, the patch is really small, so I attach it directly to
> this e-mail. If someone is interested in it and/or gives a
> feedback, he's welcome.
As usual, the SCHED_IDLE patch has some problems:
- if you run more SCHED_IDLE processes, only the first
one will get any CPU time assigned
- it is a gross hack (well, the nice +20 part looks nice
to me, but the other parts don't)
- it will have continuous recalculation of all process
priorities
If there is demand for it, I'll create a scheduler
patch that includes both my stuff, Richard's RT
stuff and a complete SCHED_IDLE package (complete
with the nice +20 hack ;).
Rik.
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+
---1480530994-648510093-908787008=:2977--
-
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.tux.org/lkml/