This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH v2 00/03] Enable lock elision for powerpc


Hi all,


This is repost of my previous patchset [1] to add transaction lock elision for 
powerpc. 

PowerPC ISA 2.07 adds hardware transaction memory primitives for architecture and
they are currently implemented by POWER8 chips.

The patch series enable pthread mutex and pthread rdlock lock elision in the same
manner already implemented by x86 and s390.  I followed s390 tunable with some
modifications.

Also, for powerpc implementation I have to add a transactional abort before syscalls
to avoid side-effects being seen outside transactions (more information on third 
patch in the series).

The complete patch set is mirrored in azanella/lockelision-ppc branch.  I have also
added the powerpc wrapper for BZ #16657 fix (however I haven't not include it yet
on the patch series since the bug is still being discussed).

Checked on powerpc32, powerpc64, and powerpc64le.  I also checked with a compiler
without power HTM support (GCC 4.8) and with HTM support (GCC 4.9).

[1] https://www.sourceware.org/ml/libc-alpha/2014-08/msg00409.html
[2] https://www.power.org/wp-content/uploads/2013/05/PowerISA_V2.07_PUBLIC.pdf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]