commit | 42abcc584174166342297421209932a87bdb85f1 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Mar 03 11:07:04 2023 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Sat Apr 29 14:19:01 2023 +0200 |
tree | 229e9f884e4bb48e74b2bfdbb99f4e9ded19280b | |
parent | d66ba6dc1cce914673bd8a89fca30a7715ea70d1 [diff] |
cpus-common: stop using mb_set/mb_read Use a store-release at the end of the work item, and a load-acquire when waiting for the item to be completed. This is the standard message passing pattern and is both enough and clearer than mb_read/mb_set. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>