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

From: Andi Kleen
Date: Sun Oct 02 2011 - 09:48:13 EST


> 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@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/