summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux-foundation.org>2009-12-18 23:26:23 +0100
committerPekka Enberg <penberg@cs.helsinki.fi>2009-12-20 09:39:34 +0100
commit84e554e6865c4f4ae84d38800cf270b9a67901cc (patch)
tree9bf5ce0596a9ffeee9e6a307eadbce6086f636ba /arch/m68k
parentSLUB: this_cpu: Remove slub kmem_cache fields (diff)
downloadlinux-84e554e6865c4f4ae84d38800cf270b9a67901cc.tar.xz
linux-84e554e6865c4f4ae84d38800cf270b9a67901cc.zip
SLUB: Make slub statistics use this_cpu_inc
this_cpu_inc() translates into a single instruction on x86 and does not need any register. So use it in stat(). We also want to avoid the calculation of the per cpu kmem_cache_cpu structure pointer. So pass a kmem_cache pointer instead of a kmem_cache_cpu pointer. Signed-off-by: Christoph Lameter <cl@linux-foundation.org> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions