[Qemu-devel] [PULL 09/19] migration: No need to take rcu during sync_dirty_bitmap

2019-07-12 Thread Juan Quintela
From: Peter Xu 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 Reviewe

[Qemu-devel] [PULL 09/19] migration: No need to take rcu during sync_dirty_bitmap

2019-07-11 Thread Juan Quintela
From: Peter Xu 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 Reviewe