]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - init/Kconfig
[PATCH] slob: introduce the SLOB allocator
[linux-2.6-omap-h63xx.git] / init / Kconfig
index ba42f3793a84332dcbe6cdb5e4594d193997f59c..0c9932f9f06b3881a74535186c62cc69ffe17da5 100644 (file)
@@ -380,6 +380,15 @@ config CC_ALIGN_JUMPS
          no dummy operations need be executed.
          Zero means use compiler's default.
 
+config SLAB
+       default y
+       bool "Use full SLAB allocator" if EMBEDDED
+       help
+         Disabling this replaces the advanced SLAB allocator and
+         kmalloc support with the drastically simpler SLOB allocator.
+         SLOB is more space efficient but does not scale well and is
+         more susceptible to fragmentation.
+
 endmenu                # General setup
 
 config TINY_SHMEM
@@ -391,6 +400,10 @@ config BASE_SMALL
        default 0 if BASE_FULL
        default 1 if !BASE_FULL
 
+config SLOB
+       default !SLAB
+       bool
+
 menu "Loadable module support"
 
 config MODULES