Re: [patch 5/3] fastboot: sync the async execution before late_initcall and move level 6s (sync) first

Alan Stern
2008-07-30T14:08:54Z

On Tue, 29 Jul 2008, Simon Arlott wrote:

> It doesn't appear to be possible to init multiple PCI devices at once...
> I haven't looked into what is doing it exactly but presumably there's a
> lock being held over the whole device probe process.
>
> The speedup from usb seems to be primarily from initialising devices in
> the background... perhaps there's some way to do that without doing hcd
> init from a second thread?

You could provide useful details by booting a kernel with
CONFIG_USB_DEBUG enabled.

The USB stack _already_ initializes USB devices (i.e., not host
controllers) in a separate thread.

Alan Stern