提交 02f56210 编写于 作者: S Simon Arlott 提交者: Pekka Enberg

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: NSimon Arlott <simon@fire.lp0.eu>
Signed-off-by: NPekka Enberg <penberg@cs.helsinki.fi>
上级 4ffaf869
......@@ -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)"
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册