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

From: Rene Herman
Date: Thu Jul 31 2008 - 14:54:16 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/