Re: [V6][PATCH 4/6] x86, nmi: add in logic to handle multiple events and unknown NMIs

Andi Kleen
2011-10-02T13:48:14Z

> Second, I wanted to use NMIs as a way of waking up a vcpu sleeping with
> interrupts disabled (in the context of Jeremy's paravirt spinlock
> patches). Looks like we'll have to use paravirtualization for that.

Just use a mode of perf that doesn't use NMIs.
Interrupt off profiling is rarely needed if at all on modern kernels.

-Andi

--
ak@linux.intel.com -- Speaking for myself only.