From: Christoph Lameter Date: Tue, 9 Aug 2011 21:12:24 +0000 (-0500) Subject: slub: Prepare inuse field in new_slab() X-Git-Tag: v3.2-rc1~152^2^3~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6e82ea1127d899af7eee876f1c1103716d13772;p=pandora-kernel.git 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 Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed