Re: [patch] x86: fix taking DNA during 64bit sigreturn

H. Peter Anvin
2007-11-13T00:12:57Z

Andi Kleen wrote:
>> The *real* fix for this is almost certainly to just get rid of the 64-bit
>> code entirely, and use the 32-bit code as the base for one single unified
>> setup.
>
> That would likely break the ABI. x86-64 ABI is completely different here --
> no ibcs, just pure x86 ISA.
>

Different ABIs clearly have to be handled, but I don't think that is a
huge deal. The i387 code overall (not just asm/i387.h) is very
different, though, and I find it unlikely that a properly unified code
is going to be ready and working in the 2.6.24 timeframe. I'm exploring
if a partial merge with high confidence level is feasible; either way, a
proper merge for 2.6.25 is probably the right thing.

-hpa