[lkml]   [2005]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [Lse-tech] Re: [PATCH 0/7]: Fix for unsafe notifier chain
    On Sun, 27 Nov 2005 14:47:36 +0100, 
    Andi Kleen <> wrote:
    >akpm wrote
    >> - Introduce a new notifier API which is wholly unlocked
    >The old notifiers were already wholly unlocked. So it wouldn't
    >even need any changes. Just additional locks everywhere.

    Wrong. The existing implementation is racy as hell. There is NO
    locking on the existing chains, these patches make the notifier chains
    race free.

    Some of the notifier callbacks are used in weird contexts, including
    NMI, so the only option for those chains is RCU. Obviously those
    callbacks cannot sleep. Other chains are used in more normal context
    _AND_ the callbacks want to sleep, so those chains need to use sleeping

    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: 2005-11-27 17:01    [W:0.018 / U:2.880 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site