Re: [-mm patch] always enable regparm on i386

From: Adrian Bunk
Date: Sat Jan 08 2005 - 19:24:12 EST


On Sat, Jan 08, 2005 at 03:52:48PM -0800, Andrew Morton wrote:
> Adrian Bunk <bunk@xxxxxxxxx> wrote:
> >
> > 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.
>
> -mregparm has revealed at least two kernel bugs thus far. The ability to
> disable -mregparm is a useful diagnostic tool.

You are still able to disable it by editing the Kconfig file.

And even if the option will no longer be present at some time in the
future, it will be trivial to disable it in the Makefile.

But currently (an option depending on EXPERIMENTAL) the testing coverage
isn't that big, and with this -mm patch, most people using -mm [1] will
have it enabled and notice if other problems pop up.

cu
Adrian

[1] except for those with gcc < 3.0 or !i386

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/