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

From: Simon Arlott
Date: Thu Jul 31 2008 - 15:27:25 EST


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
--
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/