summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2009-01-23 17:21:39 +0100
committerPekka Enberg <penberg@cs.helsinki.fi>2009-09-16 20:23:33 +0300
commit8cb28191c927930a67363ba994763a768c518f1d (patch)
treed42ef5305bc8fb0700f87bce9b09a002fed26376 /init
parentee421bb5d083a20de944f4935e429753dda2f884 (diff)
SLQB: Add mm/slqb.c to Kbuild
This patch adds SLQB to Kbuild. It's separated from the original patch to make sure we don't break git bisect due to early slab changes in mainline while SLQB was being developed. As the SLQB allocator is known to be broken on certain PowerPC and S390 configurations. Disable the allocator in Kconfig for those architectures until the issues are resolved. Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 8e8b76d8a272..adc10ab24e7c 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1031,6 +1031,12 @@ config SLUB
and has enhanced diagnostics. SLUB is the default choice for
a slab allocator.
+config SLQB
+ bool "SLQB (Queued allocator)"
+ depends on !PPC && !S390
+ help
+ SLQB is a proposed new slab allocator.
+
config SLOB
depends on EMBEDDED
bool "SLOB (Simple Allocator)"
@@ -1086,7 +1092,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