Re: 2.5.74-mm1
From: Mel Gorman <hidden>
Date: 2003-07-07 13:01:50
Also in:
lkml
On Mon, 7 Jul 2003, Daniel Phillips wrote:
And set up distros to grant it by default. Yes. The problem I see is that it lets user space priorities invade the range of priorities used by root processes.
That is the main drawback all right but it could be addressed by having a CAP_SYS_USERNICE capability which allows a user to renice only their own processes to a highest priority of -5, or some other reasonable value that wouldn't interfere with root processes. This capability would only be for applications like music players which need to give hints to the scheduler. This would make it a bit Linux specific but as the pam module (currently vapour I know) is the only piece of code that would be aware of the distinction, it should not be much of a problem. -- Mel Gorman -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>