public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [-mm patch] always enable regparm on i386
@ 2005-03-27 20:21 Adrian Bunk
  2005-03-29  1:33 ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Bunk @ 2005-03-27 20:21 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

The patch below always enables regparm on i386 (with gcc >= 3.0).

With this patch, it should get a better testing coverage in -mm.

This patch should help to find bugs that show up with regparm enabled.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.10-mm2-full/arch/i386/Kconfig.old	2005-01-08 17:41:49.000000000 +0100
+++ linux-2.6.10-mm2-full/arch/i386/Kconfig	2005-01-08 17:42:10.000000000 +0100
@@ -877,9 +877,8 @@
 	default y
 
 config REGPARM
-	bool "Use register arguments (EXPERIMENTAL)"
-	depends on EXPERIMENTAL
-	default n
+	bool
+	default y
 	help
 	Compile the kernel with -mregparm=3. This uses an different ABI
 	and passes the first three arguments of a function call in registers.


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [-mm patch] always enable regparm on i386
@ 2005-01-08 20:50 Adrian Bunk
  2005-01-08 23:52 ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Bunk @ 2005-01-08 20:50 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

The patch below always enables regparm on i386 (with gcc >= 3.0).

With this patch, it should get a better testing coverage in -mm.

If this doesn't cause any problems, I plan to send a patch to completely 
remove the CONFIG_REGPARM option after 2.6.11 will be released.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.10-mm2-full/arch/i386/Kconfig.old	2005-01-08 17:41:49.000000000 +0100
+++ linux-2.6.10-mm2-full/arch/i386/Kconfig	2005-01-08 17:42:10.000000000 +0100
@@ -877,9 +877,8 @@
 	default y
 
 config REGPARM
-	bool "Use register arguments (EXPERIMENTAL)"
-	depends on EXPERIMENTAL
-	default n
+	bool
+	default y
 	help
 	Compile the kernel with -mregparm=3. This uses an different ABI
 	and passes the first three arguments of a function call in registers.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-03-29  1:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-27 20:21 [-mm patch] always enable regparm on i386 Adrian Bunk
2005-03-29  1:33 ` Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2005-01-08 20:50 Adrian Bunk
2005-01-08 23:52 ` Andrew Morton
2005-01-09  0:22   ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox