]> git.proxmox.com Git - mirror_qemu.git/commit
docs: explain effect of smp_read_barrier_depends() on modern architectures
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 Apr 2023 13:40:15 +0000 (15:40 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 20 Apr 2023 09:17:36 +0000 (11:17 +0200)
commit000eebcfe8824aa35face1d06b0fa3ab3ec2aea8
tree31cf3b4a167f3aa9e4087b0416d331d7a5f0111e
parent512c90c90ebdc0d77891bbef7265e9d40f812d02
docs: explain effect of smp_read_barrier_depends() on modern architectures

The documentation for smp_read_barrier_depends() does not mention the architectures
for which it is an optimization, for example ARM and PPC.  As a result, it is not
clear to the reader why one would use it.  Relegate Alpha to a footnote together
with other architectures where it is equivalent to smp_rmb().

Suggested-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/devel/atomics.rst