From: Christoph Lameter Date: Fri, 3 May 2013 18:04:18 +0000 (+0000) Subject: mm, slab_common: Fix bootstrap creation of kmalloc caches X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~15^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a965b3baa89;p=pandora-kernel.git mm, slab_common: Fix bootstrap creation of kmalloc caches For SLAB the kmalloc caches must be created in ascending sizes in order for the OFF_SLAB sub-slab cache to work properly. Create the non power of two caches immediately after the prior power of two kmalloc cache. Do not create the non power of two caches before all other caches. Reported-and-tested-by: Tetsuo Handa Signed-off-by: Christoph Lamete Link: http://lkml.kernel.org/r/201305040348.CIF81716.OStQOHFJMFLOVF@I-love.SAKURA.ne.jp Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed