lkml.org 
[lkml]   [2015]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH][experimantal] cpufreq: governor: Use an atomic variable for synchronization
    On 08-12-15, 15:30, Rafael J. Wysocki wrote:
    > It doesn't look nice, but then having a lockless timer function is worth
    > it in my view.
    >
    > The code in gov_cancel_work() runs relatively rarely, but the timer
    > function can run very often, so avoiding the lock in there is a priority
    > to me.
    >
    > Plus we can avoid disabling interrupts in two places this way.

    Okay, that's good enough then. I hope you will be sending these
    patches now, right? And ofcourse, we need documentation in this case
    as well.

    --
    viresh


    \
     
     \ /
      Last update: 2015-12-08 16:21    [W:3.080 / U:0.976 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site