[PATCH] powerpc: get rid of per_cpu EEH counters
authorLinas Vepstas <linas@linas.org>
Fri, 4 Nov 2005 00:55:25 +0000 (18:55 -0600)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jan 2006 04:30:48 +0000 (15:30 +1100)
commit257ffc64a6c22621ecb0371b7f10d5b40b74c878
tree1166c38a4ddaf2d4d6f1f9dc838b53b0138b09a7
parent7684b40cb53ba00cc51271f1c42897b776c48fbc
[PATCH] powerpc: get rid of per_cpu EEH counters

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: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
(cherry picked from be3b5d1be053ccb41e91fa5a6f43ef5db301357d commit)
arch/powerpc/platforms/pseries/eeh.c