From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 29 Mar 2005 11:49:28 +0000 Subject: Re: hotplug starts script as high priority process Message-Id: <1112096968.7417.19.camel@localhost.localdomain> List-Id: References: <600722290@web.de> In-Reply-To: <600722290@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, 2005-03-29 at 13:41 +0100, Andreas Walden wrote: > I'm using linux 2.6.11 on an ARM AT91RM9200 with hotplug-ng-001. > On hotplug event, hotplug invokes a script called 99-usb2serial.hotplug > as hig priority process. Is it possible to avoid this and instead run > the script in normal priority? Add a setpriority(2) call to hotplug.c after the fork before the exec(3) of the child. Or try to use nice(1) in your script. Kay ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&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