[lkml]   [2007]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] fix-flush_workqueue-vs-cpu_dead-race-update
    On Sat, Jan 06, 2007 at 07:30:35PM +0300, Oleg Nesterov wrote:
    > Stupid me. Thanks.
    > I'll try to do something else tomorrow. Do you see a simple soulution?

    Sigh ..I dont see a simple solution, unless we have something like
    lock_cpu_hotplug() ..

    This workqueue problem has exposed a classic example of how
    tough/miserable it can be to write hotplug safe code w/o something like
    lock_cpu_hotplug() ..Are you still inclined towards banning it? :)

    FYI, the lock_cpu_hotplug() rewrite proposed by Gautham at may still need refinement to avoid
    all the kind of deadlocks we have unearthed with workqueue example. I
    can review that design with Gautham if there is some interest to
    revive lock_cpu_hotplug() ..

    > The current usage of workqueue_mutex (I mean stable kernel) is broken
    > and deadlockable. We really need to change it.

    Yep ..

    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: 2007-01-06 17:41    [W:0.024 / U:85.508 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site