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

Benjamin LaHaise
2001-12-09T23:17:59Z

On Sun, Dec 09, 2001 at 06:05:13PM -0500, Robert Love wrote:
> the boost... Or, we could fix in-kernel deadlocks by doing priority
> inheriting on locks held by A and wanted by B (i.e., if A holds
> something B wants, boost A's priority temporarily to that of B's). But
> that is probably overkill ... note to do any of these it is probably
> cleanest to make a SCHED_IDLE scheduling class.

Even better would be to keep the process at low priority while in userland
and reverts to normal "nice" priority while in kernelspace.

-ben