From: Christoph Lameter Date: Tue, 9 Aug 2011 21:12:26 +0000 (-0500) Subject: slub: return object pointer from get_partial() / new_slab(). X-Git-Tag: v3.2-rc1~152^2^3~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=497b66f2ecc97844493e6a147fd5a7e73f73f408;p=pandora-kernel.git slub: return object pointer from get_partial() / new_slab(). There is no need anymore to return the pointer to a slab page from get_partial() since the page reference can be stored in the kmem_cache_cpu structures "page" field. Return an object pointer instead. That in turn allows a simplification of the spaghetti code in __slab_alloc(). Signed-off-by: Christoph Lameter Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed