diff options
author | Andreas Schwab <aschwab@redhat.com> | 2009-07-16 09:57:32 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-07-16 09:57:32 -0700 |
commit | 50158f95525ca59459a90f2a7bc65ceb892a0807 (patch) | |
tree | 1c1ecd6bab36b07e1643e7bb0142967cac85ba6c /ChangeLog | |
parent | bec466d922ee22b94ac0d00415fb605e136efe6e (diff) | |
download | glibc-50158f95525ca59459a90f2a7bc65ceb892a0807.zip glibc-50158f95525ca59459a90f2a7bc65ceb892a0807.tar.gz glibc-50158f95525ca59459a90f2a7bc65ceb892a0807.tar.bz2 |
Use correct release semantic in list update.
nscd uses lockfree lists and we need to ensure the correct release
semantics is used when adding to the list.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,4 +1,10 @@ 2009-07-16 Ulrich Drepper <drepper@redhat.com> + + * nscd/cache.c (cache_add): Use atomic_compare_and_exchange_bool_rel + instead of atomic_compare_and_exchange_bool_acq to ensure pointer + is written before the list head update. + Patch by Andreas Schwab <aschwab@redhat.com>. + Jakub Jelinek <jakub@redhat.com> * malloc/malloc.c [ATOMIC_FASTBINS] (_int_free): Make check for |