Re: [Qemu-devel] [PATCH v1 2/6] mem: make global dispatch table ready for rcu

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 04:11, Liu Ping Fan ha scritto: > From: Liu Ping Fan > > Currently, phys_node_map and phys_sections are shared by all > of the AddressSpaceDispatch. When updating mem topology, all > AddressSpaceDispatch will rebuild dispatch tables sequentially > on them. In order to use rcu-style,

[Qemu-devel] [PATCH v1 2/6] mem: make global dispatch table ready for rcu

2013-05-28 Thread Liu Ping Fan
From: Liu Ping Fan Currently, phys_node_map and phys_sections are shared by all of the AddressSpaceDispatch. When updating mem topology, all AddressSpaceDispatch will rebuild dispatch tables sequentially on them. In order to use rcu-style, introducing next_node_map and next_phys_sections, so that