diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-07-16 07:24:50 -0700 |
---|---|---|
committer | Petr Baudis <pasky@suse.cz> | 2009-07-16 20:35:37 +0200 |
commit | e875bad50a2247e6297c1b2306d87b3eb623a0be (patch) | |
tree | 903735fafe9037f8fd7f94b3a95b87224be29809 /streams/sys | |
parent | a5cceee5d55a69d82322b6ee0d17176a14b3b6bb (diff) | |
download | glibc-e875bad50a2247e6297c1b2306d87b3eb623a0be.tar.gz glibc-e875bad50a2247e6297c1b2306d87b3eb623a0be.tar.xz glibc-e875bad50a2247e6297c1b2306d87b3eb623a0be.zip |
Use rel semantics of cas instead of acq semantics with full barrier before it in _int_free
The following patch fixes catomic_compare_and_exchange_*_rel definitions (which were never used and weren't correct) and uses catomic_compare_and_exchange_val_rel in _int_free. Comparing to the pre-2009-07-02 --enable-experimental-malloc state the generated code should be identical on all arches other than ppc/ppc64 and on ppc/ppc64 should use lwsync instead of isync barrier. (cherry picked from commit bea0ac1d8703091294fe5822d982591c849b5458)
Diffstat (limited to 'streams/sys')
0 files changed, 0 insertions, 0 deletions