Re: Compat 32-bit syscall entry from 64-bit task!?

From: H. Peter Anvin
Date: Wed Jan 18 2012 - 16:07:38 EST


On 01/18/2012 01:01 PM, Linus Torvalds wrote:
> On Wed, Jan 18, 2012 at 12:55 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>>
>> If we're going to use bits in an existing register field I would be
>> happier if we used bits [31:16] of CS, which are unlikely to ever be
>> used for anything.
>
> See my note about that: I would have preferred CS or ORIG_AX myself,
> but that breaks existing binaries. So that isn't really an option.
>

Fair enough. Sigh. I still think an actual pseudo-register would be
better.

-hpa

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