summaryrefslogtreecommitdiff
path: root/kernel/user.c
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2008-04-14 15:50:44 (GMT)
committerPekka Enberg <penberg@cs.helsinki.fi>2008-04-14 15:50:44 (GMT)
commit62f75532b583c03840f31e40386ce2df73be9ca0 (patch)
tree22f532faf421878b593b467a9d8bf29d6769c30f /kernel/user.c
parent120dd64cacd4fb796bca0acba3665553f1d9ecaa (diff)
downloadlinux-fsl-qoriq-62f75532b583c03840f31e40386ce2df73be9ca0.tar.xz
slub: Initialize per-cpu stats
As spotted by kmemcheck, we need to initialize the per-CPU ->stat array before using it. [kmem_cache_cpu structures are usually allocated from arrays defined via DEFINE_PER_CPU that are zeroed so we have not noticed this so far --cl]. Reported-by: Vegard Nossum <vegard.nossum@gmail.com> Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'kernel/user.c')
0 files changed, 0 insertions, 0 deletions