Re: perf_disable()
From: Peter Zijlstra
Date: Fri Jun 11 2010 - 17:25:45 EST
On Fri, 2010-06-11 at 23:04 +0200, Frederic Weisbecker wrote:
> On Fri, Jun 11, 2010 at 06:29:44PM +0200, Peter Zijlstra wrote:
> > There is a fun little recursion issue with perf_adjust_period(), where
> > if we fully removed perf_disable() we could end up calling pmu::stop()
> > twice and such.
>
>
>
> We can have a local_t made nesting level on the stop/start that could easily
> deal with this.
Fanning it out to the relevant pmu implementation is the interesting
part..
--
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/