Kconfig: SLUB is the default slab allocator

In 2007, a0acd82080 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>
This commit is contained in:
Simon Arlott 2008-11-05 22:18:19 +00:00 committed by Pekka Enberg
parent 4ffaf869c7
commit 02f5621042

View File

@ -771,8 +771,7 @@ config SLAB
help help
The regular slab allocator that is established and known to work The regular slab allocator that is established and known to work
well in all environments. It organizes cache hot objects in well in all environments. It organizes cache hot objects in
per cpu and per node queues. SLAB is the default choice for per cpu and per node queues.
a slab allocator.
config SLUB config SLUB
bool "SLUB (Unqueued Allocator)" bool "SLUB (Unqueued Allocator)"
@ -781,7 +780,8 @@ config SLUB
instead of managing queues of cached objects (SLAB approach). instead of managing queues of cached objects (SLAB approach).
Per cpu caching is realized using slabs of objects instead Per cpu caching is realized using slabs of objects instead
of queues of objects. SLUB can use memory efficiently 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 config SLOB
depends on EMBEDDED depends on EMBEDDED