lkml.org 
[lkml]   [2010]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: perf_disable()
    From
    Date
    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..




    \
     
     \ /
      Last update: 2010-06-11 23:27    [W:0.021 / U:0.580 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site