]> git.ipfire.org Git - thirdparty/qemu.git/commit
async: update documentation of the memory barriers
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Mar 2023 09:15:06 +0000 (10:15 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 Mar 2023 11:39:53 +0000 (12:39 +0100)
commit8dd48650b43dfde4ebea34191ac267e474bcc29e
treeb28d00eb3653ee917bd3e4c1349f78c7170e4ee2
parent33828ca11da08436e1b32f3e79dabce3061a0427
async: update documentation of the memory barriers

Ever since commit 8c6b0356b539 ("util/async: make bh_aio_poll() O(1)",
2020-02-22), synchronization between qemu_bh_schedule() and aio_bh_poll()
is happening when the bottom half is enqueued in the bh_list; not
when the flags are set.  Update the documentation to match.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
util/async.c