diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2020-04-06 11:34:12 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-04-13 02:56:03 -0400 |
| commit | de99dab06f7917095586517f1ab0e6dab7a03322 (patch) | |
| tree | 554bcadec1af01b568d205b2ed90463811199215 /hw/core/machine.c | |
| parent | 15e8699f009f7feeab7d9ab406bf62882958e4d9 (diff) | |
| download | focaccia-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