Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262216AbVAJLvF (ORCPT ); Mon, 10 Jan 2005 06:51:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262217AbVAJLvF (ORCPT ); Mon, 10 Jan 2005 06:51:05 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:26332 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S262216AbVAJLvC (ORCPT ); Mon, 10 Jan 2005 06:51:02 -0500 Date: Mon, 10 Jan 2005 12:50:53 +0100 (MET) From: Jan Engelhardt To: Chris Wright cc: linux-kernel@vger.kernel.org Subject: Re: keventd gives exceptional priority to usermode helpers In-Reply-To: <20050110034202.P469@build.pdx.osdl.net> Message-ID: References: <20050110034202.P469@build.pdx.osdl.net> 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: 792 Lines: 26 >> @@ -165,6 +165,7 @@ static int ____call_usermodehelper(void >> >> /* We can run anywhere, unlike our parent keventd(). */ >> set_cpus_allowed(current, CPU_MASK_ALL); >> + set_user_nice(current, 0); > >Seems reasonable. Although, I don't see a niceval of -20, but -5 on >keventd (workqueues do set_user_nice(-5)). Also, this patch is Right, `ps` only shows "<" for <0, "" for 0 and "N" for >0. But -5 is still a hard thing. >whitespace damaged, should be tab not spaces. the neverending debate... Jan Engelhardt -- ENOSPC - 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/