Commit eef2fd1d authored by Matt Mackall's avatar Matt Mackall Committed by Linus Torvalds

[PATCH] base-small: introduce the CONFIG_BASE_SMALL flag

This patch series introduced a new pair of CONFIG_EMBEDDED options call
CONFIG_BASE_FULL/CONFIG_BASE_SMALL.  Disabling CONFIG_BASE_FULL sets the
boolean CONFIG_BASE_SMALL to 1 and it is used to shrink a number of core data
structures.  The space savings for the current batch is around 14k.

This patch:

Add CONFIG_BASE_SMALL for miscellaneous core size that don't warrant
their own options. Example users to follow.
Signed-off-by: default avatarMatt Mackall <mpm@selenic.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2c69be78
......@@ -276,6 +276,18 @@ config KALLSYMS_EXTRA_PASS
reported. KALLSYMS_EXTRA_PASS is only a temporary workaround while
you wait for kallsyms to be fixed.
config BASE_FULL
default y
bool "Enable full-sized data structures for core" if EMBEDDED
help
Disabling this option reduces the size of miscellaneous core
kernel data structures.
config BASE_SMALL
int
default 0 if BASE_FULL
default 1 if !BASE_FULL
config FUTEX
bool "Enable futex support" if EMBEDDED
default y
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment