Re: [Qemu-devel] [PATCH 0/7] memory: address_space_to_flatview needs RCU lock

2018-03-06 Thread Paolo Bonzini
On 06/03/2018 08:47, Alexey Kardashevskiy wrote: > On 05/03/18 19:36, Paolo Bonzini wrote: >> I noticed that the introduction of flatview_{read,write} placed >> address_space_to_flatview outside the RCU lock. This is wrong and has >> to be fixed, because address_space_to_flatview does an

Re: [Qemu-devel] [PATCH 0/7] memory: address_space_to_flatview needs RCU lock

2018-03-05 Thread Alexey Kardashevskiy
On 05/03/18 19:36, Paolo Bonzini wrote: > I noticed that the introduction of flatview_{read,write} placed > address_space_to_flatview outside the RCU lock. This is wrong and has > to be fixed, because address_space_to_flatview does an atomic_rcu_read. > These patches fix this one function at a