[lkml]   [2006]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch] drivers: wait for threaded probes between initcall levels
    On Fri, 27 Oct 2006 11:42:37 -0700
    Andrew Morton <> wrote:

    > From: Andrew Morton <>
    > 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 <>
    > Signed-off-by: Andrew Morton <>
    > ---

    This looks like a good place to use a counting semaphore.

    Stephen Hemminger <>
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-10-27 20:59    [W:0.022 / U:8.348 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site