• Linas Vepstas's avatar
    [PATCH] powerpc: get rid of per_cpu EEH counters · 257ffc64
    Linas Vepstas authored
    242-eeh-no-percpu-counters.patch
    
    Remove per-cpu counters from the EEH code.  These statistics counters
    are incremented at a very low frequency, and the performance gains of
    per-cpu variables are negligable.  By contrast, the counters weren't
    safe against cpu off/online operations, and its not worth the effort
    to make them so (other than to turn them into plain globals).
    Signed-off-by: default avatarLinas Vepstas <linas@austin.ibm.com>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    (cherry picked from be3b5d1be053ccb41e91fa5a6f43ef5db301357d commit)
    257ffc64
eeh.c 28.8 KB