commit | e6e82ea1127d899af7eee876f1c1103716d13772 | [log] [tgz] |
---|---|---|
author | Christoph Lameter <cl@linux.com> | Tue Aug 09 16:12:24 2011 -0500 |
committer | Pekka Enberg <penberg@kernel.org> | Fri Aug 19 19:34:26 2011 +0300 |
tree | 76325c985e7265dd5dff9b37b785fa17b7630b03 | |
parent | 7db0d7054048da140798d8bfdd7fff5f74f85abf [diff] |
slub: Prepare inuse field in new_slab() inuse will always be set to page->objects. There is no point in initializing the field to zero in new_slab() and then overwriting the value in __slab_alloc(). Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>