cpu-exec-common.c: Clarify comment about cpu_reload_memory_map()'s RCU operations
commit53f8a5e9e2633a4a3b6918c36aec725aa80f2887
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 1 Oct 2015 14:29:49 +0000 (1 15:29 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Oct 2015 16:29:26 +0000 (12 18:29 +0200)
tree0d83b8b211ea3d3a7fa008f52b86900d9158fdf8
parent0a1c71cec63e95f9b8d0dc96d049d2daa00c5210
cpu-exec-common.c: Clarify comment about cpu_reload_memory_map()'s RCU operations

The reason for cpu_reload_memory_map()'s RCU operations is not
so much because the guest could make the critical section very
long, but that it could have a critical section within which
it made an arbitrary number of changes to the memory map and
thus accumulate an unbounded amount of memory data structures
awaiting reclamation. Clarify the comment to make this clearer.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <1443709790-25180-3-git-send-email-peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpu-exec-common.c