This is the mail archive of the glibc-bugs@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]

[Bug libc/17403] atomic_full_barrier is incorrect for x86 and x86_64


https://sourceware.org/bugzilla/show_bug.cgi?id=17403

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  c47ca9647f9b72692e62f94fe468cd5568f49129 (commit)
      from  b2faf4eadf5e9e9a71abcfe4da71fad91707ccac (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c47ca9647f9b72692e62f94fe468cd5568f49129

commit c47ca9647f9b72692e62f94fe468cd5568f49129
Author: Torvald Riegel <triegel@redhat.com>
Date:   Wed Oct 29 10:34:36 2014 +0100

    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.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                       |    8 ++++++++
 NEWS                            |   25 +++++++++++++------------
 sysdeps/i386/i486/bits/atomic.h |    7 +++++++
 sysdeps/x86_64/bits/atomic.h    |    7 +++++++
 4 files changed, 35 insertions(+), 12 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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