summary refs log tree commit diff stats
path: root/hw/core/machine.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-04-06 11:34:12 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-04-13 02:56:03 -0400
commitde99dab06f7917095586517f1ab0e6dab7a03322 (patch)
tree554bcadec1af01b568d205b2ed90463811199215 /hw/core/machine.c
parent15e8699f009f7feeab7d9ab406bf62882958e4d9 (diff)
downloadfocaccia-qemu-de99dab06f7917095586517f1ab0e6dab7a03322.tar.gz
focaccia-qemu-de99dab06f7917095586517f1ab0e6dab7a03322.zip
atomics: update documentation
Some of the constraints on operand sizes have been relaxed, so adjust the
documentation.

Deprecate atomic_mb_read and atomic_mb_set; it is not really possible to
use them correctly because they do not interoperate with sequentially-consistent
RMW operations.

Finally, extend the memory barrier pairing section to cover acquire and
release semantics in general, roughly based on the KVM Forum 2016 talk,
"<atomic.h> weapons".

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core/machine.c')
0 files changed, 0 insertions, 0 deletions