Re: [PATCH 03/13] jump label v9: x86 support

From: Ingo Molnar
Date: Fri Jun 11 2010 - 03:58:47 EST



* H. Peter Anvin <hpa@xxxxxxxxx> wrote:

> On 06/10/2010 05:14 AM, Ingo Molnar wrote:
> >
> > * Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> >
> >> On Wed, 2010-06-09 at 17:39 -0400, Jason Baron wrote:
> >>> + select HAVE_ARCH_JUMP_LABEL if !CC_OPTIMIZE_FOR_SIZE
> >>
> >> That deserves a comment somewhere, it basically makes OPTIMIZE_FOR_SIZE
> >> useless...
> >
> > Hm, we need more than a comment for that - distros enable
> > CC_OPTIMIZE_FOR_SIZE all the time, for the massive kernel image (and
> > hotpath cache footprint) savings. Is this fixable?
>
> Actually the current reports from the gcc community is that gcc 4.5.0 + -Os
> produces a broken kernel even without asm goto:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44129

Well, most distros havent switched to gcc 4.5 yet (even rawhide is still on
4.4 + backports) and i guess the lack of testing shows. New GCC versions have
a long history of causing bugs in the kernel.

Thanks,

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