diff options
author | Christoph Lameter <cl@linux.com> | 2013-05-03 18:04:18 (GMT) |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2013-05-06 20:22:17 (GMT) |
commit | 8a965b3baa89ffedc73c0fbc750006c631012ced (patch) | |
tree | 96312febbf13b5fe1f956411be7693c07343a7f8 /net/batman-adv | |
parent | 6286ae97d10ea2b5cd90532163797ab217bfdbdf (diff) | |
download | linux-fsl-qoriq-8a965b3baa89ffedc73c0fbc750006c631012ced.tar.xz |
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 <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Christoph Lamete <cl@linux.com>
Link: http://lkml.kernel.org/r/201305040348.CIF81716.OStQOHFJMFLOVF@I-love.SAKURA.ne.jp
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'net/batman-adv')
0 files changed, 0 insertions, 0 deletions