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

From: Keith Owens (kaos@ocs.com.au)
Date: Wed Oct 16 2002 - 09:06:40 EST


On Tue, 15 Oct 2002 23:33:19 +0100,
John Levon <levon@movementarian.org> 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
rescue?

-
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/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:28 EST