Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b824eb60 authored by Ingo Molnar's avatar Ingo Molnar Committed by Linus Torvalds
Browse files

[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: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 69ef4141
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -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"