Re: Intel P6 vs P7 system call performance

bart@etpmod.phys.tue.nl
Thu, 19 Dec 2002 15:57:06 +0100 (CET)


On 19 Dec, billyrose@billyrose.net wrote:
> long_call:
> pushl $0xfffff000
> ret
>

A ret(urn) to an address that wasn't put on the stack by a call
severly confuses the branch prediction on many processors.

-- 
Bart Hartgers - TUE Eindhoven 
http://plasimo.phys.tue.nl/bart/contact.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/