From: Ingo Molnar Make CONFIG_REGPARM enabled by default. It's a noticable win both for size and for performance, and gcc[34] handles it correctly. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton --- arch/i386/Kconfig | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff -puN arch/i386/Kconfig~make-config_regparm-enabled-by-default arch/i386/Kconfig --- devel/arch/i386/Kconfig~make-config_regparm-enabled-by-default 2006-01-23 16:41:28.000000000 -0800 +++ devel-akpm/arch/i386/Kconfig 2006-01-23 16:41:28.000000000 -0800 @@ -660,9 +660,17 @@ config BOOT_IOREMAP config REGPARM bool "Use register arguments" + default y help - Compile the kernel with -mregparm=3. This uses a different ABI - and passes the first three arguments of a function call in registers. + Compile the kernel with -mregparm=3. This instructs gcc to use + a more efficient function call ABI which passes the first three + arguments of a function call via registers, which results in denser + and faster code. + + If this option is disabled, then the default ABI of passing + arguments via the stack is used. + + If unsure, say Y. config SECCOMP bool "Enable seccomp to safely compute untrusted bytecode" _