diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-03-23 05:59:29 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 10:38:03 -0500 |
commit | b824eb605ccba995fd32c6590aed365f93d48002 (patch) | |
tree | f5720240b044b46ac83e127e2c5586cd8ef2ed75 /arch/i386/Kconfig | |
parent | 69ef4141e03fab1c6956d3c760584c72b548a26f (diff) |
[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 <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/Kconfig')
-rw-r--r-- | arch/i386/Kconfig | 12 |
1 files changed, 10 insertions, 2 deletions
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 | |||
661 | 661 | ||
662 | config REGPARM | 662 | config REGPARM |
663 | bool "Use register arguments" | 663 | bool "Use register arguments" |
664 | default y | ||
664 | help | 665 | help |
665 | Compile the kernel with -mregparm=3. This uses a different ABI | 666 | Compile the kernel with -mregparm=3. This instructs gcc to use |
666 | and passes the first three arguments of a function call in registers. | 667 | a more efficient function call ABI which passes the first three |
668 | arguments of a function call via registers, which results in denser | ||
669 | and faster code. | ||
670 | |||
671 | If this option is disabled, then the default ABI of passing | ||
672 | arguments via the stack is used. | ||
673 | |||
674 | If unsure, say Y. | ||
667 | 675 | ||
668 | config SECCOMP | 676 | config SECCOMP |
669 | bool "Enable seccomp to safely compute untrusted bytecode" | 677 | bool "Enable seccomp to safely compute untrusted bytecode" |