diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-02-10 11:21:54 +0100 |
---|---|---|
committer | Christoph Lameter <christoph@stapp.engr.sgi.com> | 2008-02-14 15:30:01 -0800 |
commit | e51bfd0ad10600a9fe4c8ede5ac2272e80075008 (patch) | |
tree | a204156fbb0036fb76e89ceffa15a30e90bc3f75 /include/linux/slub_def.h | |
parent | e760e716d47b48caf98da348368fd41b4a9b9e7e (diff) | |
download | op-kernel-dev-e51bfd0ad10600a9fe4c8ede5ac2272e80075008.zip op-kernel-dev-e51bfd0ad10600a9fe4c8ede5ac2272e80075008.tar.gz |
slab: avoid double initialization & do initialization in 1 place
- alloc_slabmgmt: initialize all slab fields in 1 place
- slab->nodeid was initialized twice: in alloc_slabmgmt
and immediately after it in cache_grow
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
CC: Christoph Lameter <clameter@sgi.com>
Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Diffstat (limited to 'include/linux/slub_def.h')
0 files changed, 0 insertions, 0 deletions