Skip to content

Commit

Permalink
Kconfig: SLUB is the default slab allocator
Browse files Browse the repository at this point in the history
In 2007, a0acd82 changed the default
slab allocator to SLUB, but the SLAB help text still says SLAB is the
default. This change fixes that.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
  • Loading branch information
Simon Arlott authored and Pekka Enberg committed Nov 13, 2008
1 parent 4ffaf86 commit 02f5621
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,7 @@ config SLAB
help
The regular slab allocator that is established and known to work
well in all environments. It organizes cache hot objects in
per cpu and per node queues. SLAB is the default choice for
a slab allocator.
per cpu and per node queues.

config SLUB
bool "SLUB (Unqueued Allocator)"
Expand All @@ -781,7 +780,8 @@ config SLUB
instead of managing queues of cached objects (SLAB approach).
Per cpu caching is realized using slabs of objects instead
of queues of objects. SLUB can use memory efficiently
and has enhanced diagnostics.
and has enhanced diagnostics. SLUB is the default choice for
a slab allocator.

config SLOB
depends on EMBEDDED
Expand Down

0 comments on commit 02f5621

Please sign in to comment.