diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2023-03-03 11:14:15 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-05-08 11:10:49 +0200 |
| commit | 8f593ba9c5c96b1790cc6aceb95b5b83bbac92cd (patch) | |
| tree | 16e455615a6db8e55446661526ce880ecd0cc259 /scripts/qapi/expr.py | |
| parent | 355635c0187d3cc2a0cbb3381e06d61c0bf683ba (diff) | |
| download | focaccia-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