Peter Xu <pet...@redhat.com> wrote: > 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.
Anyways, hotplug/unplug is suppossed to be disable during migration. If we add/remove a ramblock during migration bad things could happen. Later, Juan.