Re: [Lse-tech] Re: [PATCH 0/7]: Fix for unsafe notifier chain

Keith Owens
2005-11-28T08:32:04Z

On Mon, 28 Nov 2005 05:59:22 +0100,
Andi Kleen <ak@suse.de> wrote:
>On Sun, Nov 27, 2005 at 08:57:45PM -0800, Andrew Morton wrote:
>> "Paul E. McKenney" <paulmck@us.ibm.com> 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.

Unregister is not the only problem. Chain traversal races with
register as well.