From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: Use of parallel init threads for slow devices start ups? Date: Mon, 19 Feb 2007 23:26:40 +0100 Message-ID: <20070219222640.GC21214@elf.ucw.cz> References: <3B6D69C3A9EBCA4BA5DA60D9130274295B9D66@dlee13.ent.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <3B6D69C3A9EBCA4BA5DA60D9130274295B9D66@dlee13.ent.ti.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: "Woodruff, Richard" Cc: "Reddy, Teerth" , pm list List-Id: linux-pm@vger.kernel.org Hi! > While doing some startup time profiling it is noticed we spend a lot of > time in the idle loop. As there is only one thread initializing devices > there is no one to schedule during device start ups. So for example an > external sensor might need a couple seconds to power up. > = > Does anyone want to give an opinion on forking off a parallel thread to > handle slower devices which are not dependent? GregKH had a patch to do that for PCI and USB, but it was broken. You are welcome to ressurect them and fix them... > This is true for boot time and for device resume time... Lets get it right for boot, first. Pavel -- = (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html