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

Simon Arlott
2008-07-31T19:27:24Z

On 31/07/08 19:56, Rene Herman wrote:
> On 31-07-08 20:29, Simon Arlott wrote:
>
>> Ok - so there could be some big improvements to be had by making the
>> hcd init happen as early as possible and the device initcalls later?
>
> Arjan also needed a pre device_initcall() level for PCI core init now
> that the async device initcalls weren't governed just by link order
> anymore. He reused the device_initcall_sync() level, moving it to before
> device_initcall() itself (it used to be just behind).
>
> Your above notion sounds like another good reason for inserting a real
> new level just before device_initcall(); if you move any of the device
> init to late initcall(), late_initcall() loses too much of its utility
> I'd feel (see start of this thread with various late_initcalls wanting
> to assume stuff).

Well, the late_initcall idea was just for testing, to make the device
driver parts later while moving usb/ up in link order.

--
Simon Arlott