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

Robert Love
2001-12-09T23:21:29Z

On Sun, 2001-12-09 at 18:16, Benjamin LaHaise wrote:

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

But the point of a SCHED_IDLE would be to only run them while idle, so
they can still never even get the CPU.

Ahh ... wait, do you mean periodically run them, but only give them the
boost while they are in kernel space? Very good idea. Can you see an
easy way to do this?

Robert Love