Re: [Lse-tech] Re: [PATCH 0/7]: Fix for unsafe notifier chain
From: Andi Kleen
Date: Mon Nov 28 2005 - 00:15:10 EST
On Sun, Nov 27, 2005 at 09:05:22PM -0800, Paul E. McKenney wrote:
> On Mon, Nov 28, 2005 at 05:59:22AM +0100, Andi Kleen wrote:
> > On Sun, Nov 27, 2005 at 08:57:45PM -0800, Andrew Morton wrote:
> > > "Paul E. McKenney" <paulmck@xxxxxxxxxx> wrote:
> > > >
> > > > Any options I missed?
> > >
> > > Stop using the notifier chains from NMI context - it's too hard. Use a
> > > fixed-size array in the NMI code instead.
> >
> > Or just don't unregister. That is what I did for the debug notifiers.
>
> So the thought is to replicate the notifier code in all non-NMI subsystems
> that require it?
The non NMI subsystems just need to get appropiate locking
(or preferable just use RCU if the notifiers can't sleep)
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/