From: Pekka Enberg Date: Sun, 8 Jan 2006 09:00:36 +0000 (-0800) Subject: [PATCH] slab: extract slab order calculation to separate function X-Git-Tag: v2.6.16-rc1~903 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d268eba1187ef66844a6a33b9431e5d0dadd4ad;p=pandora-kernel.git [PATCH] slab: extract slab order calculation to separate function This patch moves the ugly loop that determines the 'optimal' size (page order) of cache slabs from kmem_cache_create() to a separate function and cleans it up a bit. Thanks to Matthew Wilcox for the help with this patch. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed