On Fri, 27 Oct 2006 11:42:37 -0700 Andrew Morton <[email protected]> wrote: > From: Andrew Morton <[email protected]> > > The multithreaded-probing code has a problem: after one initcall level (eg, > core_initcall) has been processed, we will then start processing the next > level (postcore_initcall) while the kernel threads which are handling > core_initcall are still executing. This breaks the guarantees which the > layered initcalls previously gave us. > > IOW, we want to be multithreaded _within_ an initcall level, but not between > different levels. > > Fix that up by causing the probing code to wait for all outstanding probes at > one level to complete before we start processing the next level. > > Cc: Greg KH <[email protected]> > Signed-off-by: Andrew Morton <[email protected]> > --- > This looks like a good place to use a counting semaphore. -- Stephen Hemminger <[email protected]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch] drivers: wait for threaded probes between initcall levels
- From: Andrew Morton <[email protected]>
- Re: [patch] drivers: wait for threaded probes between initcall levels
- References:
- Linux 2.6.19-rc3
- From: Linus Torvalds <[email protected]>
- 2.6.19-rc3: known unfixed regressions (v2)
- From: Adrian Bunk <[email protected]>
- [RFC: 2.6.19 patch] let PCI_MULTITHREAD_PROBE depend on BROKEN
- From: Adrian Bunk <[email protected]>
- Re: [RFC: 2.6.19 patch] let PCI_MULTITHREAD_PROBE depend on BROKEN
- From: Matthew Wilcox <[email protected]>
- Re: [RFC: 2.6.19 patch] let PCI_MULTITHREAD_PROBE depend on BROKEN
- From: Andrew Morton <[email protected]>
- Re: [RFC: 2.6.19 patch] let PCI_MULTITHREAD_PROBE depend on BROKEN
- From: Stephen Hemminger <[email protected]>
- Re: [RFC: 2.6.19 patch] let PCI_MULTITHREAD_PROBE depend on BROKEN
- From: Greg KH <[email protected]>
- Re: [RFC: 2.6.19 patch] let PCI_MULTITHREAD_PROBE depend on BROKEN
- From: Pavel Machek <[email protected]>
- Re: [RFC: 2.6.19 patch] let PCI_MULTITHREAD_PROBE depend on BROKEN
- From: Andrew Morton <[email protected]>
- vmlinux.lds: consolidate initcall sections
- From: Andrew Morton <[email protected]>
- [patch] drivers: wait for threaded probes between initcall levels
- From: Andrew Morton <[email protected]>
- Linux 2.6.19-rc3
- Prev by Date: Re: [PATCH 1/1] fat: improve sync performance by grouping writes in fat_mirror_bhs [really unmangled]
- Next by Date: Re: [PATCH 1/1] fat: improve sync performance by grouping writes in fat_mirror_bhs [really unmangled]
- Previous by thread: [patch] drivers: wait for threaded probes between initcall levels
- Next by thread: Re: [patch] drivers: wait for threaded probes between initcall levels
- Index(es):