exec: adjust rcu_read_lock requirement
commitab0a99560857302b60053c245d1231acbd976cd4
authorGonglei <arei.gonglei@huawei.com>
Tue, 10 May 2016 02:05:00 +0000 (10 10:05 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 23 May 2016 14:53:44 +0000 (23 16:53 +0200)
tree2642774165b03e8ac1efb2a5f9c903c899698204
parentfa53a0e53efdc7002497ea4a76aacf6cceb170ef
exec: adjust rcu_read_lock requirement

qemu_ram_unset_idstr() doesn't need rcu lock anymore,
meanwhile make the range of rcu lock in
qemu_ram_set_idstr() as small as possible.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Message-Id: <1462845901-89716-3-git-send-email-arei.gonglei@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c