This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: TSX lock elision for glibc v2
Torvald Riegel <triegel@redhat.com> writes:
> On Fri, 2013-01-11 at 23:29 +0100, Andi Kleen wrote:
>> > What about the internal locks used in the condvar and rwlock
>> > implementations? We might perhaps be able to build better concurrent
>>
>> x86 rwlocks don't use locks, and I already elide then.
>
> sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S lines 46-76,
> for example. Are we looking at the same code?
This is already elided in my patchkit. Please see patch 6/10.
-Andi
--
ak@linux.intel.com -- Speaking for myself only