commit | 4c6ebbb364aa6f42c5d8e83e932e967eb83f0e44 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 05 09:23:56 2018 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Mar 06 14:01:27 2018 +0100 |
tree | 73f0ddf49cbf9630fda799009f81024933ffc788 | |
parent | 785a507ec78bbda1c346f3d3593e5a58b62e73ef [diff] |
address_space_write: address_space_to_flatview needs RCU lock address_space_write is calling address_space_to_flatview but it can be called outside the RCU lock. To fix it, push the rcu_read_lock/unlock pair up from flatview_write to address_space_write. Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>