Re: [Qemu-devel] [PATCH 25/30] exec: put memory map in AddressSpaceDispatch

2013-07-02 Thread Jan Kiszka
On 2013-07-02 17:08, Paolo Bonzini wrote: > Il 02/07/2013 16:42, Jan Kiszka ha scritto: +typedef PhysPageEntry Node[L2_SIZE]; + struct AddressSpaceDispatch { /* This is a multi-level map on the physical address space. * The bottom level has pointers to MemoryReg

Re: [Qemu-devel] [PATCH 25/30] exec: put memory map in AddressSpaceDispatch

2013-07-02 Thread Paolo Bonzini
Il 02/07/2013 16:42, Jan Kiszka ha scritto: >> > +typedef PhysPageEntry Node[L2_SIZE]; >> > + >> > struct AddressSpaceDispatch { >> > /* This is a multi-level map on the physical address space. >> > * The bottom level has pointers to MemoryRegionSections. >> > */ >> > PhysPag

Re: [Qemu-devel] [PATCH 25/30] exec: put memory map in AddressSpaceDispatch

2013-07-02 Thread Jan Kiszka
On 2013-06-28 20:26, Paolo Bonzini wrote: > This lets us get a consistent (phys_map, nodes, sections) using > RCU. After this patch, cur_map is not used anymore except for freeing > it at the end of the topology update. > > Signed-off-by: Paolo Bonzini > --- > exec.c | 28 +-

[Qemu-devel] [PATCH 25/30] exec: put memory map in AddressSpaceDispatch

2013-06-28 Thread Paolo Bonzini
This lets us get a consistent (phys_map, nodes, sections) using RCU. After this patch, cur_map is not used anymore except for freeing it at the end of the topology update. Signed-off-by: Paolo Bonzini --- exec.c | 28 +--- 1 file changed, 17 insertions(+), 11 deletions(-