lkml.org 
[lkml]   [2002]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Notifier for significant events on i386
    On Thu, Dec 12, 2002 at 05:58:04PM +0000, John Levon wrote:
    > On Thu, Dec 12, 2002 at 09:53:35AM -0800, Stephen Hemminger wrote:
    >
    > > The use of notifier today is limited to things that can't sleep. As far
    >
    > kernel/profile.c
    >
    > You'd have to move that to a different API if you want to force notifier
    > callbacks non-sleepable
    >
    Yes, indeed most of the existing notifiers potentially sleep. That is why
    I think we should, may be, leave the existing notifiers alone. Add a
    notifier_call_chain_safe() and use that to run trap1/trap3/NMI etc
    notifiers.

    --
    Vamsi Krishna S.
    Linux Technology Center,
    IBM Software Lab, Bangalore.
    Ph: +91 80 5044959
    Internet: vamsi@in.ibm.com
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:31    [W:0.020 / U:123.028 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site