[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v10 3/7] migration: use bitmap_mutex in migratio
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH v10 3/7] migration: use bitmap_mutex in migration_bitmap_clear_dirty |
Date: |
Mon, 3 Dec 2018 13:08:23 +0800 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Mon, Dec 03, 2018 at 10:18:27AM +0800, Wei Wang wrote:
> The bitmap mutex is used to synchronize threads to update the dirty
> bitmap and the migration_dirty_pages counter. For example, the free
> page optimization clears bits of free pages from the bitmap in an
> iothread context. This patch makes migration_bitmap_clear_dirty update
> the bitmap and counter under the mutex.
>
> Signed-off-by: Wei Wang <address@hidden>
> CC: Dr. David Alan Gilbert <address@hidden>
> CC: Juan Quintela <address@hidden>
> CC: Michael S. Tsirkin <address@hidden>
> CC: Peter Xu <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
--
Peter Xu
- [Qemu-devel] [PATCH v10 0/7] virtio-balloon: free page hint support, Wei Wang, 2018/12/02
- [Qemu-devel] [PATCH v10 2/7] bitmap: bitmap_count_one_with_offset, Wei Wang, 2018/12/02
- [Qemu-devel] [PATCH v10 1/7] bitmap: fix bitmap_count_one, Wei Wang, 2018/12/02
- [Qemu-devel] [PATCH v10 3/7] migration: use bitmap_mutex in migration_bitmap_clear_dirty, Wei Wang, 2018/12/02
- Re: [Qemu-devel] [PATCH v10 3/7] migration: use bitmap_mutex in migration_bitmap_clear_dirty,
Peter Xu <=
- [Qemu-devel] [PATCH v10 4/7] migration: API to clear bits of guest free pages from the dirty bitmap, Wei Wang, 2018/12/02
- [Qemu-devel] [PATCH v10 6/7] migration/ram.c: add a function to disable the bulk stage, Wei Wang, 2018/12/02
- [Qemu-devel] [PATCH v10 5/7] migration/ram.c: add a notifier chain for precopy, Wei Wang, 2018/12/02