aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorHaicheng Li <haicheng.li@linux.intel.com>2010-01-06 15:25:23 +0800
committerPekka Enberg <penberg@cs.helsinki.fi>2010-01-11 18:56:07 +0200
commitf3186a9c51eabe75b2780153ed7f07778d78b16e (patch)
treeab8c267ad09ead33c8ed757612b34ad5a1b70ce7 /mm/slub.c
parent6b7b284958d47b77d06745b36bc7f36dab769d9b (diff)
downloadkernel_samsung_smdk4412-f3186a9c51eabe75b2780153ed7f07778d78b16e.zip
kernel_samsung_smdk4412-f3186a9c51eabe75b2780153ed7f07778d78b16e.tar.gz
kernel_samsung_smdk4412-f3186a9c51eabe75b2780153ed7f07778d78b16e.tar.bz2
slab: initialize unused alien cache entry as NULL at alloc_alien_cache().
Comparing with existing code, it's a simpler way to use kzalloc_node() to ensure that each unused alien cache entry is NULL. CC: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: Andi Kleen <ak@linux.intel.com> Acked-by: Christoph Lameter <cl@linux-foundation.org> Acked-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Haicheng Li <haicheng.li@linux.intel.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions