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

Robert Love (rml@tech9.net)
07 Dec 2001 23:39:53 -0500


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

-
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/