Re: [PATCH 1/4] perf, x86: Add Intel Nehalem/Westmere uncore pmu

From: Andi Kleen
Date: Mon Jul 04 2011 - 17:57:13 EST


> > There are no NMIs without sampling, so at least the comment seems bogus.
> > Perhaps the code could be a bit simplified now without atomics.
>
> I'm not sure if uncore PMU interrupt need to be enabled for counting
> only. What do you think?

Only for overflow handling to accumulate into a larger counter, but it doesn't
need to be an NMI for that. But it's not strictly required I would say,
44(?) bits are probably enough for near all use cases.

At least initially not having one is fine I think.

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