Re: [patch 1/3] fastboot: Create a "asynchronous" initlevel

Arjan van de Ven
2008-07-20T15:35:48Z

On Sun, 20 Jul 2008 16:20:06 +0200
Rene Herman <rene.herman@keyaccess.nl> wrote:

> On 20-07-08 13:10, Arjan van de Ven wrote:
>
> > On Sun, 20 Jul 2008 09:23:31 +0200
> > Rene Herman <rene.herman@keyaccess.nl> wrote:
> >
> >> Yes, I see. Unfortunately, WITH your patches, driver_probe_done()
> >> would also no longer be safe when run from a late_initcall() it
> >> would appear.
> >
> > true for now (but see below)
> >
> >> I have the sneaking suspicion that this is a bit of a fundamental
> >> issue. Turning some of the driver level (6) async basicaly removes
> >> the ordering between drivers and late_initcall (level 7).
> >
> > I was hoping to not need this ordering.
>
> May have found an issue with 3/3 for this same reason.

> > Thankfully it doesn't destroy it, the reason for this is that level
> > 6 itself tends to take long enough to get benefits. It's just that
> > if we can get both 6 and 7 it's nicer. But if we end up needing to
> > sync, so be it.
>
> I worry...

ok you convinced me... I'll post a followon patch that will have this
shortly once it finishes compiling/booting.

--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org