Re: [PATCH] Make highly niced processes run only when idle

Robert Love
2001-12-08T04:40:20Z

On Fri, 2001-12-07 at 23:38, root wrote:
> This patch makes a process with nice values >= 20 (according to
> setpriority(2)) completely stop when there are other runnable
> processes with smaller nice values.
> Try run something with `nice -n 30' (which `setpriority' to 20)

What do you think will happen when an "idle" task holds a resource or is
otherwise a producer for something a higher priority, running, task
needs?

Robert Love