提交 b824eb60 编写于 作者: I Ingo Molnar 提交者: Linus Torvalds

[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: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 69ef4141
...@@ -661,9 +661,17 @@ config BOOT_IOREMAP ...@@ -661,9 +661,17 @@ config BOOT_IOREMAP
config REGPARM config REGPARM
bool "Use register arguments" bool "Use register arguments"
default y
help help
Compile the kernel with -mregparm=3. This uses a different ABI Compile the kernel with -mregparm=3. This instructs gcc to use
and passes the first three arguments of a function call in registers. 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 config SECCOMP
bool "Enable seccomp to safely compute untrusted bytecode" bool "Enable seccomp to safely compute untrusted bytecode"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册