aboutsummaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index ba42f3793a84..0c9932f9f06b 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -380,6 +380,15 @@ config CC_ALIGN_JUMPS
380 no dummy operations need be executed. 380 no dummy operations need be executed.
381 Zero means use compiler's default. 381 Zero means use compiler's default.
382 382
383config SLAB
384 default y
385 bool "Use full SLAB allocator" if EMBEDDED
386 help
387 Disabling this replaces the advanced SLAB allocator and
388 kmalloc support with the drastically simpler SLOB allocator.
389 SLOB is more space efficient but does not scale well and is
390 more susceptible to fragmentation.
391
383endmenu # General setup 392endmenu # General setup
384 393
385config TINY_SHMEM 394config TINY_SHMEM
@@ -391,6 +400,10 @@ config BASE_SMALL
391 default 0 if BASE_FULL 400 default 0 if BASE_FULL
392 default 1 if !BASE_FULL 401 default 1 if !BASE_FULL
393 402
403config SLOB
404 default !SLAB
405 bool
406
394menu "Loadable module support" 407menu "Loadable module support"
395 408
396config MODULES 409config MODULES