summary refs log tree commit diff stats
path: root/scripts/qapi/expr.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-03-03 11:14:15 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2023-05-08 11:10:49 +0200
commit8f593ba9c5c96b1790cc6aceb95b5b83bbac92cd (patch)
tree16e455615a6db8e55446661526ce880ecd0cc259 /scripts/qapi/expr.py
parent355635c0187d3cc2a0cbb3381e06d61c0bf683ba (diff)
downloadfocaccia-qemu-8f593ba9c5c96b1790cc6aceb95b5b83bbac92cd.tar.gz
focaccia-qemu-8f593ba9c5c96b1790cc6aceb95b5b83bbac92cd.zip
call_rcu: stop using mb_set/mb_read
Use a store-release when enqueuing a new call_rcu, and a load-acquire
when dequeuing; and read the tail after checking that node->next is
consistent, which is the standard message passing pattern and it is
clearer than mb_read/mb_set.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions