Re: proxy_pda was Re: What was in the x86 merge for .20

From: Jeremy Fitzhardinge
Date: Fri Dec 08 2006 - 16:10:07 EST


Andi Kleen wrote:
> Looking at Arkadiusz' output file it looks like gcc 4.2 decided to CSE the
> address :/
>
> movl $_proxy_pda+8, %edx #, tmp65
>
> Very sad, but legitimate.
>

Yes, that was my conclusion too. Though in this case the code could be
cleaned up by cutting down on the number of uses of "current" - but
that's hardly a general fix.

> The only workaround I can think of would be to define it as a symbol
> (or away in vmlinux.lds.S)

Yes. I was thinking about setting it in vmlinux.lds to some obviously
bad address so that any access will be highly visible.

> . Or do away with the idea of proxy_pda
> again.
>

That would be very sad indeed.

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