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

Benjamin LaHaise
2001-12-09T23:47:21Z

On Sun, Dec 09, 2001 at 06:21:05PM -0500, Robert Love wrote:
> 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?

Actually, yes: in entry.S the ret_from_syscall path which calls schedule
can be changed to pass a parameter indicating it is returning to userspace
afterwards which would let schedule know the bump is not needed.

-ben
--
Fish.