From: Ingo Molnar Date: Thu, 23 Mar 2006 10:59:29 +0000 (-0800) Subject: [PATCH] Make CONFIG_REGPARM enabled by default X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b824eb605ccba995fd32c6590aed365f93d48002;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] Make CONFIG_REGPARM enabled by default 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 Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index 69c8a70e854b..5f89c74537ef 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig @@ -661,9 +661,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"