lkml.org 
[lkml]   [2004]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Patch to 2.6.8.1-mm2 to allow multiple NMI handlers to be registered
Andreas Dilger wrote:

>On Aug 19, 2004 09:35 -0500, Corey Minyard wrote:
>
>
>>* Allow multiple handlers to be registered and return if they have
>>handled the NMI or not. oprofile and nmi_watchdog are modified to use this.
>>
>>
>
>Why not use a notifier call chain as is done with panic & friends instead
>of implementing the same thing specifically for NMI?
>
>
>
A couple of reasons:

* The "handled" value needs to be passed around so handler know if
previous handlers have already handled the NMI.
* It allows the list of registered NMI handlers to be dumped in
/proc/interrupts

I thought that the notifiers callout used locks (which would be a
no-go), but it doesn't. So I can scratch that one from my list.

Thanks,

-Corey
-
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 14:05    [W:0.064 / U:1.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site