Re: Intel P6 vs P7 system call performance

From: bart@etpmod.phys.tue.nl
Date: Thu Dec 19 2002 - 09:57:06 EST


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/



This archive was generated by hypermail 2b29 : Mon Dec 23 2002 - 22:00:23 EST