Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | powerpc: Fix Copyright dates and CL entry | Adhemerval Zanella | 2015-01-12 | 1 | -1/+1 |
| | | | | | This patch fixes the copyright dates from files created by commit 8d2c0a5, 4b45943, and 56cf276. | ||||
* | powerpc: Add the lock elision using HTM | Adhemerval Zanella | 2015-01-12 | 1 | -0/+28 |
This patch adds support for lock elision using ISA 2.07 hardware transactional memory instructions for pthread_mutex primitives. Similar to s390 version, the for elision logic defined in 'force-elision.h' is only enabled if ENABLE_LOCK_ELISION is defined. Also, the lock elision code should be able to be built even with a compiler that does not provide HTM support with builtins. However I have noted the performance is sub-optimal due scheduling pressures. |