summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-08-12 12:15:29 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2009-08-12 12:15:29 +1000
commit54ee08867c827dd7e5ac4b86a5f4d41a047b489f (patch)
tree5022d42f0e771f3f0c2ddb3d6c2095b03dfe2d08 /init
parent692a2a61fe05ccff8236710cd08f2cfa3c0ac3ed (diff)
parent783a2a33e7713c435918ac1601a07a17e2668b04 (diff)
Merge commit 'slab/for-next'
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig28
1 files changed, 24 insertions, 4 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 3f7e60995c80..ff545366366c 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1026,18 +1026,23 @@ config COMPAT_BRK
choice
prompt "Choose SLAB allocator"
- default SLUB
+ default SLQB_ALLOCATOR
help
This option allows to select a slab allocator.
-config SLAB
+config SLAB_ALLOCATOR
bool "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.
-config SLUB
+config SLAB
+ bool
+ default y
+ depends on SLAB_ALLOCATOR
+
+config SLUB_ALLOCATOR
bool "SLUB (Unqueued Allocator)"
help
SLUB is a slab allocator that minimizes cache line usage
@@ -1047,6 +1052,21 @@ config SLUB
and has enhanced diagnostics. SLUB is the default choice for
a slab allocator.
+config SLUB
+ bool
+ default y
+ depends on SLUB_ALLOCATOR
+
+config SLQB_ALLOCATOR
+ bool "SLQB (Queued allocator)"
+ help
+ SLQB is a proposed new slab allocator.
+
+config SLQB
+ bool
+ default y
+ depends on SLQB_ALLOCATOR
+
config SLOB
depends on EMBEDDED
bool "SLOB (Simple Allocator)"
@@ -1102,7 +1122,7 @@ config HAVE_GENERIC_DMA_COHERENT
config SLABINFO
bool
depends on PROC_FS
- depends on SLAB || SLUB_DEBUG
+ depends on SLAB || SLUB_DEBUG || SLQB
default y
config RT_MUTEXES