Skip to content
Snippets Groups Projects
Commit 02f56210 authored by Simon Arlott's avatar Simon Arlott Committed by Pekka Enberg
Browse files

Kconfig: SLUB is the default slab allocator


In 2007, a0acd820 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: default avatarSimon Arlott <simon@fire.lp0.eu>
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
parent 4ffaf869
No related branches found
No related tags found
No related merge requests found
...@@ -771,8 +771,7 @@ config SLAB ...@@ -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 ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment