Messages in this thread | | | Date | Mon, 21 Mar 2011 13:53:04 -0400 | From | Don Zickus <> | Subject | Re: [PATCH] x86, UV: Fix NMI handler for UV platforms |
| |
On Mon, Mar 21, 2011 at 07:43:46PM +0300, Cyrill Gorcunov wrote: > I think Jack might need to setup priority for his notifier, like > > static struct notifier_block uv_dump_stack_nmi_nb = { > .notifier_call = uv_handle_nmi, > .priority = NMI_LOCAL_HIGH_PRIOR+1, > }; > > so it would be called before perf nmi. Don, am I right?
Unless they added register to detect the external nmi button has been pressed this shouldn't work and in fact if you run 'perf' you will probably trigger stack traces for all the cpus on your first NMI. That is what has been explained to me privately.
Cheers, Don
| |