1. 08 6月, 2017 1 次提交
  2. 24 10月, 2016 2 次提交
  3. 29 5月, 2016 2 次提交
    • P
      docs/atomics: update comparison with Linux · a4a0e4b2
      Paolo Bonzini 提交于
      Over time, some differences between QEMU and Linux atomics are getting
      smoothed.  In particular, Linux grew atomic_fetch_or (and in general
      the differences regarding RMW operations were not described accurately)
      and smp_load_acquire/smp_store_release.  Also, set_mb was renamed to
      smp_store_mb().  Include these changes in the documentation.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      a4a0e4b2
    • E
      docs/atomics: update atomic_read/set comparison with Linux · 56ebe022
      Emilio G. Cota 提交于
      Recently Linux did a mass conversion of its atomic_read/set calls
      so that they at least are READ/WRITE_ONCE. See Linux's commit
      62e8a325 ("atomic, arch: Audit atomic_{read,set}()"). It seems though
      that their documentation hasn't been updated to reflect this.
      
      The appended updates our documentation to reflect the change, which
      means there is effectively no difference between our atomic_read/set
      and the current Linux implementation.
      
      While at it, fix the statement that a barrier is implied by
      atomic_read/set, which is incorrect. Volatile/atomic semantics prevent
      transformations pertaining the variable they apply to; this, however,
      has no effect on surrounding statements like barriers do. For more
      details on this, see:
        https://gcc.gnu.org/onlinedocs/gcc/Volatiles.htmlSigned-off-by: NEmilio G. Cota <cota@braap.org>
      Message-Id: <1464120374-8950-2-git-send-email-cota@braap.org>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      56ebe022
  4. 23 5月, 2016 1 次提交
  5. 30 4月, 2015 1 次提交
  6. 04 7月, 2013 1 次提交