]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] Make CONFIG_REGPARM enabled by default
authorIngo Molnar <mingo@elte.hu>
Thu, 23 Mar 2006 10:59:29 +0000 (02:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:03 +0000 (07:38 -0800)
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 <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/Kconfig

index 69c8a70e854bc2faa246e371f3a4d06a16b3c8ba..5f89c74537ef29b631291a471a3fdda6f0d8739a 100644 (file)
@@ -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"