diff options
author | Torvald Riegel <triegel@redhat.com> | 2014-10-29 10:34:36 +0100 |
---|---|---|
committer | Torvald Riegel <triegel@redhat.com> | 2015-06-23 19:20:52 +0200 |
commit | c47ca9647f9b72692e62f94fe468cd5568f49129 (patch) | |
tree | 724bfcf502ac32b1117915e731dfad53083cf272 /ChangeLog | |
parent | b2faf4eadf5e9e9a71abcfe4da71fad91707ccac (diff) | |
download | glibc-c47ca9647f9b72692e62f94fe468cd5568f49129.zip glibc-c47ca9647f9b72692e62f94fe468cd5568f49129.tar.gz glibc-c47ca9647f9b72692e62f94fe468cd5568f49129.tar.bz2 |
Fix atomic_full_barrier on x86 and x86_64.
This fixes BZ #17403 by defining atomic_full_barrier,
atomic_read_barrier, and atomic_write_barrier on x86 and x86_64. A full
barrier is implemented through an atomic idempotent modification to the
stack and not through using mfence because the latter can supposedly be
somewhat slower due to having to provide stronger guarantees wrt.
self-modifying code, for example.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2015-06-23 Torvald Riegel <triegel@redhat.com> + + [BZ #17403] + * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier, + atomic_read_barrier, atomic_write_barrier): Define. + * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier, + atomic_read_barrier, atomic_write_barrier): Define. + 2015-06-23 Joseph Myers <joseph@codesourcery.com> * math/Makefile [$(PERL) != no] |