From: Christoph Lameter Date: Thu, 10 Jan 2013 19:14:19 +0000 (+0000) Subject: slab: Common kmalloc slab index determination X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~15^2^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce6a50263d4ddeba1f0d08f16716a82770c03690;p=pandora-kernel.git slab: Common kmalloc slab index determination Extract the function to determine the index of the slab within the array of kmalloc caches as well as a function to determine maximum object size from the nr of the kmalloc slab. This is used here only to simplify slub bootstrap but will be used later also for SLAB. Acked-by: Glauber Costa Signed-off-by: Christoph Lameter Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed