Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266939AbTGGJpp (ORCPT ); Mon, 7 Jul 2003 05:45:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266942AbTGGJpp (ORCPT ); Mon, 7 Jul 2003 05:45:45 -0400 Received: from holly.csn.ul.ie ([136.201.105.4]:42891 "EHLO holly.csn.ul.ie") by vger.kernel.org with ESMTP id S266939AbTGGJpo (ORCPT ); Mon, 7 Jul 2003 05:45:44 -0400 Date: Mon, 7 Jul 2003 11:00:14 +0100 (IST) From: Mel Gorman X-X-Sender: mel@skynet To: Daniel Phillips Cc: Jamie Lokier , Andrew Morton , Linux Kernel Mailing List , Linux Memory Management List Subject: Re: 2.5.74-mm1 In-Reply-To: <200307060414.34827.phillips@arcor.de> Message-ID: References: <20030703023714.55d13934.akpm@osdl.org> <200307060010.26002.phillips@arcor.de> <20030706012857.GA29544@mail.jlokier.co.uk> <200307060414.34827.phillips@arcor.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1032 Lines: 27 On Sun, 6 Jul 2003, Daniel Phillips wrote: > > > What are you going to do if you have one > > > application you want to take priority, re-nice the other 50? > > > > Is that effective? It might be just the trick. > > Point. > Alternatively, how about using PAM to grant the CAP_SYS_NICE capability to known interactive users that require it. Presumably the number of users that require it is very small (in the case of the music player, only one) so it wouldn't be a major security issue. There is something along these lines at http://www.pamcap.org but it requires some patching to the kernel (only available against 2.4.18 currently) to inherit capabilities across exec and, from what I gather at a quick glance, to allow capabilities to be set for a process group. -- Mel Gorman - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/