Re: Intel P6 vs P7 system call performance

H. Peter Anvin
2002-12-18T04:31:48Z

Linus Torvalds wrote:
> On Tue, 17 Dec 2002, Linus Torvalds wrote:
>
>>How about this diff? It does both the 6-parameter thing _and_ the
>>AT_SYSINFO addition.
>
>
> The 6-parameter thing is broken. It's clever, but playing games with %ebp
> is not going to work with restarting of the system call - we need to
> restart with the proper %ebp.
>

This confuses me -- there seems to be no reason this shouldn't work as
long as %esp == %ebp on sysexit. The SYSEXIT-trashed GPRs seem like a
bigger problem.

-hpa