Re: [PATCH] [4/7] oprofile - NMI hook

From: Keith Owens (
Date: Wed Oct 16 2002 - 09:06:40 EST

On Tue, 15 Oct 2002 23:33:19 +0100,
John Levon <> wrote:
>This patch provides a simple api to let oprofile hook into
>the NMI interrupt for the perfctr profiler.

Both kdb and lkcd use cross cpu NMI for debugging and dumping on SMP.
That plus oprofile and the NMI watchdog makes at least four users of
NMI. A one level hook is not going to cut it, it should be a list.

I admit that removal of a hook from the NMI list while still handling
NMI interrupts is "interesting", but that is a SMOP ;). RCU to the

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 : Wed Oct 23 2002 - 22:00:28 EST