commit | 8f593ba9c5c96b1790cc6aceb95b5b83bbac92cd | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Mar 03 11:14:15 2023 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon May 08 11:10:49 2023 +0200 |
tree | 16e455615a6db8e55446661526ce880ecd0cc259 | |
parent | 355635c0187d3cc2a0cbb3381e06d61c0bf683ba [diff] |
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>