Re: [tip:perfcounters/core] perf_counter: x86: Fix call-chainsupport to use NMI-safe methods

From: Ingo Molnar
Date: Mon Jun 15 2009 - 14:47:59 EST



* Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> wrote:

> > If it's a slowdown then the decision is easy: we dont want this,
> > we want to push the overhead into the sampling code, away from
> > common codepaths.
>
> I did not try to make the "hand unroll + ret" the default. I
> therefore don't know if it is faster or slower than iret. But I
> prefered to stay on the safe side and only modify the exceptions
> nested within NMI handlers.

hm, i misread that bit then. Too bad.

Btw., that speedup question is still valid. (Just not relevant here
and now.)

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