git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
120dd64
)
slub: Initialize per-cpu stats
author
Pekka Enberg
<penberg@cs.helsinki.fi>
Mon, 14 Apr 2008 15:50:44 +0000
(18:50 +0300)
committer
Pekka Enberg
<penberg@cs.helsinki.fi>
Mon, 14 Apr 2008 15:50:44 +0000
(18:50 +0300)
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>
mm/slub.c
patch
|
blob
|
history
diff --cc
mm/slub.c
Simple merge