Re: NMI handling rework

From: Corey Minyard (
Date: Thu Nov 14 2002 - 23:50:21 EST

Zwane Mwaikambo wrote:

>On Thu, 14 Nov 2002, Corey Minyard wrote:
>>I haven't received much feedback on getting this included into the
>>kernel. I think it's a good idea since the nmi handler was starting to
>>get messy, especially when you add kdb, NMI watchdogs, etc.
>What protects the handler list from traversal in NMI context whilst we
>update the list?
> Zwane
RCU does. Basically, the code pulls it from the list atomically wrt to
the NMI handler, and uses RCU to schedule the actual free of the data to
be done after all CPUs have gone to idle or returned from interrupts.
 It's subtle, you have to think about it a little. But it does work.


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

This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:35 EST