lkml.org 
[lkml]   [2014]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 31/48] uv: Replace __get_cpu_var
    The driver seems to use local64_t to define a single static instance of a
    counter and then seems to think that it is safe to increment the counter
    from multiple processors using local64_inc and friends. Common
    misunderstanding and a reason why I wanted the this_cpu operations.

    The counters seem to be exported via module parameters.. So I guess we
    need to define these per cpu and then sum them up when they need to be
    displayed.

    Dimitri?

    Maybe lets move this outside of this patchset.



    \
     
     \ /
      Last update: 2014-03-05 23:21    [W:5.021 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site