summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorPaolo Bonzini2013-05-29 12:09:47 +0200
committerPaolo Bonzini2013-07-04 17:42:49 +0200
commit9affd6fc0e7904fb36d58d1992bbd7cae3649197 (patch)
tree1414826b45bcbab9ad25d2291868476c39b143e9 /include/exec
parentexec: change well-known physical sections to macros (diff)
downloadqemu-9affd6fc0e7904fb36d58d1992bbd7cae3649197.tar.gz
qemu-9affd6fc0e7904fb36d58d1992bbd7cae3649197.tar.xz
qemu-9affd6fc0e7904fb36d58d1992bbd7cae3649197.zip
exec: separate current memory map from the one being built
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 prepare for RCU access, leave the old memory map alive while the next one is being accessed. When rebuilding, the new dispatch tables will build and lookup next_map; after all dispatch tables are rebuilt, we can switch to next_* and free the previous table. Based on a patch from Liu Ping Fan. Signed-off-by: Liu Ping Fan <qemulist@gmail.com> Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions