lkml.org 
[lkml]   [2008]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback
Ingo Molnar wrote:
> * Andi Kleen <andi@firstfloor.org> wrote:
>
>>> Add "kdump" to the list. It will also be broken if we decide to let
>>> one driver hijack the NMI handler.
>> kdump is a special case, similar to the NMI button panic mode. It
>> should be always only active when the user configured it. When the
>> user configured it should be always the fallback and override any
>> other drivers.
>
> if by 'any other drivers' you mean all other notifiers then that's wrong
> - kdump must still come after many other NMI sources.

Your ordering makes sense. Someone just has to go through all
the users and fix them up I guess and also document it properly.

One thing to consider though: if there are more and more NMI drivers
it would make sense to have a new notifier chain just for this
(and also finally convert oprofile to use it too).

The problem with adding more and more into the die chain is that
die is executed on every exception, including quite performance
critical ones like page fault or int 3 (performance critical for
dprobes)

-Andi



\
 
 \ /
  Last update: 2008-09-05 16:21    [W:0.097 / U:1.740 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site