[PATCH 3/3] Remove x86 assembler rwlock code

Andi Kleen andi@firstfloor.org
Wed Jun 18 19:00:00 GMT 2014


On Wed, Jun 18, 2014 at 02:41:05PM +0530, Siddhesh Poyarekar wrote:
> On Wed, Jun 11, 2014 at 05:23:41PM -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.
> 
> Benchmark results?

https://sourceware.org/ml/libc-alpha/2014-03/msg00739.html

-Andi


-- 
ak@linux.intel.com -- Speaking for myself only.



More information about the Libc-alpha mailing list