]> git.proxmox.com Git - mirror_qemu.git/commit - exec.c
exec: always call qemu_get_ram_ptr within rcu_read_lock
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 16 Dec 2015 09:30:47 +0000 (10:30 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Dec 2015 16:33:48 +0000 (17:33 +0100)
commit49b24afcb11d682d82747f706e3bd6174fe84062
tree21df80016e7b1139a9d4619f5e2c0f7345449673
parentc8ee0a445a6a85635e962c0346bc7b1259c1a3f5
exec: always call qemu_get_ram_ptr within rcu_read_lock

Simplify the code and document the assumption.  The only caller
that is not within rcu_read_lock is memory_region_get_ram_ptr.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c
include/exec/memory.h
memory.c