Re: [-mm patch] i386: enable REGPARM by default

From: Denis Vlasenko
Date: Sat Jun 25 2005 - 02:48:41 EST


On Friday 24 June 2005 23:09, Adrian Bunk wrote:
> This patch should _not_ go into Linus' tree.
>
> At some time in the future, we want to unconditionally enable REGPARM on
> i386.
>
> Let's give it a bit broader testing coverage among -mm users.
>
> This patch:
> - removes the dependency of REGPARM on EXPERIMENTAL
> - let REGPARM default to y
>
> This patch assumes that people who use -mm are willing to test some more
> experimental features.
>
> After this patch, REGPARM is still a config option users can disable.
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

Jens Axboe had hit an obscure bug with regparm just yesterday.
It happened for him with gcc 3.3.5.

I have a preprocessed .c file which allows to reporduce this.
For me, gcc 3.3.6 is okay. need to build 3.3.5 and test.

Meanwhile, maybe we shall prohibit regparm if gcc <=3.3.6 or 3.4?
--
vda

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/