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

Rene Herman
2008-07-31T18:54:15Z

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).

Rene.