public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: "Woodruff, Richard" <r-woodruff2@ti.com>
Cc: "Reddy, Teerth" <teerth@ti.com>, pm list <linux-pm@lists.osdl.org>
Subject: Re: Use of parallel init threads for slow devices start ups?
Date: Mon, 19 Feb 2007 23:26:40 +0100	[thread overview]
Message-ID: <20070219222640.GC21214@elf.ucw.cz> (raw)
In-Reply-To: <3B6D69C3A9EBCA4BA5DA60D9130274295B9D66@dlee13.ent.ti.com>

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/blog.html

  reply	other threads:[~2007-02-19 22:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-19 17:50 Use of parallel init threads for slow devices start ups? Woodruff, Richard
2007-02-19 22:26 ` Pavel Machek [this message]
2007-02-19 23:52 ` Andi Kleen
2007-02-20  0:48 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070219222640.GC21214@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=linux-pm@lists.osdl.org \
    --cc=r-woodruff2@ti.com \
    --cc=teerth@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox