[PATCH 2/2] Remove x86 assembler rwlock code

Ondřej Bílka neleai@seznam.cz
Mon Mar 24 08:43:00 GMT 2014


On Mon, Mar 17, 2014 at 05:01:31PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@odo.jf.intel.com>
> 
> With the recent tuning the C version of rwlocks is basically the same
> performance as the x86 assembler version for uncontended locks (with a
> a few cycles near the run-to-run variability). For others it should not
> matter anyways.
> 
> So remove the assembler code and use the C version like other
> architectures.
> 
What benchmark did you used? I would be ok with this when I see data.



More information about the Libc-alpha mailing list