diff options
author | Stefan Liebler <stli@linux.vnet.ibm.com> | 2017-01-20 09:53:04 +0100 |
---|---|---|
committer | Stefan Liebler <stli@linux.vnet.ibm.com> | 2017-01-20 09:53:04 +0100 |
commit | 03b007771beb4dba3b16d6097a53bfa328a78efb (patch) | |
tree | 0c3a5e1b2fe7012e55534cbc997426d2aff1d8f6 /iconvdata/tcvn5712-1.c | |
parent | 56009aa33c735d66f19d8382b6ef7c6addc24ec0 (diff) | |
download | glibc-03b007771beb4dba3b16d6097a53bfa328a78efb.tar.gz glibc-03b007771beb4dba3b16d6097a53bfa328a78efb.tar.xz glibc-03b007771beb4dba3b16d6097a53bfa328a78efb.zip |
S390: Adjust lock elision code after review.
This patch adjusts s390 specific lock elision code after review of the following patches: -S390: Use own tbegin macro instead of __builtin_tbegin. (8bfc4a2ab4bebdf86c151665aae8a266e2f18fb4) -S390: Use new __libc_tbegin_retry macro in elision-lock.c. (53c5c3d5ac238901c13f28a73ba05b0678094e80) -S390: Optimize lock-elision by decrementing adapt_count at unlock. (dd037fb3df286b7c2d0b0c6f8d02a2dd8a8e8a08) The futex value is not tested before starting a transaction, __glibc_likely is used instead of __builtin_expect and comments are adjusted. ChangeLog: * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments. * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise. * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments. (__lll_lock_elision): Do not test futex before starting a transaction. Use __glibc_likely instead of __builtin_expect. * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments. (__lll_trylock_elision): Do not test futex before starting a transaction. Use __glibc_likely instead of __builtin_expect.
Diffstat (limited to 'iconvdata/tcvn5712-1.c')
0 files changed, 0 insertions, 0 deletions