summary refs log tree commit diff stats
path: root/hw/core/cpu-common.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2025-09-29 15:42:26 +0100
committerPeter Xu <peterx@redhat.com>2025-10-03 09:48:02 -0400
commit9e7bfda4909cc688dd0327e17985019f08a78d5d (patch)
tree6d144abd6f6d2d9afa721e5c5d9c1ae952673631 /hw/core/cpu-common.c
parentd943cef76090b5255e68ba38ce6ddf20537b07bc (diff)
downloadfocaccia-qemu-9e7bfda4909cc688dd0327e17985019f08a78d5d.tar.gz
focaccia-qemu-9e7bfda4909cc688dd0327e17985019f08a78d5d.zip
include/system/memory.h: Clarify address_space_destroy() behaviour
address_space_destroy() doesn't actually immediately destroy the AS;
it queues it to be destroyed via RCU. This means you can't g_free()
the memory the AS struct is in until that has happened.

Clarify this in the documentation.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20250929144228.1994037-2-peter.maydell@linaro.org
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'hw/core/cpu-common.c')
0 files changed, 0 insertions, 0 deletions