Re: [Qemu-devel] [PATCH 28/30] exec: change iotlb APIs to take AddressSpaceDispatch

2013-07-02 Thread Jan Kiszka
On 2013-06-28 20:26, Paolo Bonzini wrote: > This makes it possible to start following RCU rules, which require > not dereferencing as->dispatch more than once. It is not covering > the whole of TCG, since the TLB data structures are not RCU-friendly, > but it is enough for exec.c. > > Signed-off-

[Qemu-devel] [PATCH 28/30] exec: change iotlb APIs to take AddressSpaceDispatch

2013-06-28 Thread Paolo Bonzini
This makes it possible to start following RCU rules, which require not dereferencing as->dispatch more than once. It is not covering the whole of TCG, since the TLB data structures are not RCU-friendly, but it is enough for exec.c. Signed-off-by: Paolo Bonzini --- cputlb.c | 7