diff options
author | 2019-06-03 14:50:46 +0800 | |
---|---|---|
committer | 2019-07-15 15:39:02 +0200 | |
commit | 267691b65cf7167881609dde1e50a4aafd86af08 (patch) | |
tree | d1073f21fdecb2edab3913d2d75f78ae5fa9879c /util/bitmap.c | |
parent | migration/ram.c: reset complete_round when we gets a queued page (diff) | |
download | qemu-267691b65cf7167881609dde1e50a4aafd86af08.tar.xz qemu-267691b65cf7167881609dde1e50a4aafd86af08.zip |
migration: No need to take rcu during sync_dirty_bitmap
cpu_physical_memory_sync_dirty_bitmap() has one RAMBlock* as
parameter, which means that it must be with RCU read lock held
already. Taking it again inside seems redundant. Removing it.
Instead comment on the functions about the RCU read lock.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20190603065056.25211-2-peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'util/bitmap.c')
0 files changed, 0 insertions, 0 deletions