commit | 6940fab84b826175cf90d48d0e3da1b76518f5b4 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Aug 12 09:41:40 2015 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Sep 09 15:34:55 2015 +0200 |
tree | 05d14ec8c28214f483dbbb7cc384b45a901153b5 | |
parent | 2496ff1311283480f9de3614080b8842d838ade4 [diff] |
tcg: add memory barriers in page_find_alloc accesses page_find is reading the radix tree outside all locks, so it has to use the RCU primitives. It does not need RCU critical sections because the PageDescs are never removed, so there is never a need to wait for the end of code sections that use a PageDesc. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>