Skip to content
Commit a9730fca authored by Christoph Lameter's avatar Christoph Lameter Committed by Linus Torvalds
Browse files

Fix kmalloc slab creation sequence

This patch restores the slab creation sequence that was broken by commit
4066c33d and also reverts the portions that introduced the
KMALLOC_LOOP_XXX macros. Those can never really work since the slab creation
is much more complex than just going from a minimum to a maximum number.

The latest upstream kernel boots cleanly on my machine with a 64 bit x86
configuration under KVM using either SLAB or SLUB.

Fixes: 4066c33d

 ("support the slub_debug boot option")
Reported-by: default avatarTheodore Ts'o <tytso@mit.edu>
Signed-off-by: default avatarChristoph Lameter <cl@linux.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 88793e5c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment