diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 13 |
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 | ||
383 | config 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 | |||
383 | endmenu # General setup | 392 | endmenu # General setup |
384 | 393 | ||
385 | config TINY_SHMEM | 394 | config 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 | ||
403 | config SLOB | ||
404 | default !SLAB | ||
405 | bool | ||
406 | |||
394 | menu "Loadable module support" | 407 | menu "Loadable module support" |
395 | 408 | ||
396 | config MODULES | 409 | config MODULES |