diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-31 10:09:11 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-31 10:38:01 +0100 |
commit | 19d092cf9ba3c01b0e22ef65c499ae7ddc28d0e8 (patch) | |
tree | 42531fcfcc0eebe598a900a8f0d9e5b289808abb /block | |
parent | d354c7eccf5466ec2715a03d3f33dbfd6680dcc5 (diff) |
threadpool: do not take lock in event_notifier_ready
The ordering is:
worker thread consumer thread
-------------------------------------------------------------------
write ret event_notifier_test_and_clear
wmb() read state
write state rmb()
event_notifier_set read ret
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions