From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bigblue.dev.mcafeelabs.com by xmailserver.org with [XMail 1.16 (Linux/Ix86) ESMTP Server] id for from ; Mon, 07 Jul 2003 08:01:07 -0700 Date: Mon, 7 Jul 2003 07:47:14 -0700 (PDT) From: Davide Libenzi Subject: Re: 2.5.74-mm1 In-Reply-To: Message-ID: References: <20030703023714.55d13934.akpm@osdl.org> <200307060414.34827.phillips@arcor.de> <200307071424.06393.phillips@arcor.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Mel Gorman Cc: Daniel Phillips , Jamie Lokier , Andrew Morton , Linux Kernel Mailing List , Linux Memory Management List List-ID: On Mon, 7 Jul 2003, Mel Gorman wrote: > 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. The scheduler has to work w/out external input, period. If it doesn't we have to fix it and not to force the user to submit external hints. - Davide -- 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: aart@kvack.org