All of lore.kernel.org
 help / color / mirror / Atom feed
* Use of parallel init threads for slow devices start ups?
@ 2007-02-19 17:50 Woodruff, Richard
  2007-02-19 22:26 ` Pavel Machek
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Woodruff, Richard @ 2007-02-19 17:50 UTC (permalink / raw)
  To: pm list; +Cc: Reddy, Teerth

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?

The init could be deferred but you still need to eat the wait time.  Its
nicest if a few devices can be doing their waiting at the same time.

This is true for boot time and for device resume time...

Regards,
Richard W.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-20  0:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-19 17:50 Use of parallel init threads for slow devices start ups? Woodruff, Richard
2007-02-19 22:26 ` Pavel Machek
2007-02-19 23:52 ` Andi Kleen
2007-02-20  0:48 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.