From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sun, 26 Jun 2005 17:13:00 +0000 Subject: Re: [PATCH] restore scheduler priority for udev children Message-Id: <20050626171300.GA5621@vrfy.org> List-Id: References: <20050626163800.GA9511@wonderland.linux.it> In-Reply-To: <20050626163800.GA9511@wonderland.linux.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sun, Jun 26, 2005 at 06:38:00PM +0200, Marco d'Itri wrote: > udevd has a nice level of -4, which is inherited by spawned children. No, the childrens get an explicit level. > This patch restores the usual level of 0, to help mitigating the effects > of broken processes which consume all the available CPU. > > (I don't know the real cause, I'm still investingating it, but the patch > looks like a good idea anyway.) Old versions of udevd+event scripts started from udevsend had all a inherited nice level of -5 and therefore this was added. Just set the values in udevd.h, if you think they should be different: #define UDEVD_PRIORITY -4 #define UDEV_PRIORITY -2 Kay ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel