[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 6/7] migration/multifd: Cleanup src flushes on condition c
From: |
Fabiano Rosas |
Subject: |
Re: [PATCH v3 6/7] migration/multifd: Cleanup src flushes on condition check |
Date: |
Mon, 09 Dec 2024 17:55:19 -0300 |
Peter Xu <peterx@redhat.com> writes:
> The src flush condition check is over complicated, and it's getting more
> out of control if postcopy will be involved.
>
> In general, we have two modes to do the sync: legacy or modern ways.
> Legacy uses per-section flush, modern uses per-round flush.
>
> Mapped-ram always uses the modern, which is per-round.
>
> Introduce two helpers, which can greatly simplify the code, and hopefully
> make it readable again.
>
> Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
- [PATCH v3 0/7] migration/multifd: Some VFIO / postcopy preparations on flush, Peter Xu, 2024/12/06
- [PATCH v3 1/7] migration/multifd: Further remove the SYNC on complete, Peter Xu, 2024/12/06
- [PATCH v3 3/7] migration/ram: Move RAM_SAVE_FLAG* into ram.h, Peter Xu, 2024/12/06
- [PATCH v3 4/7] migration/multifd: Unify RAM_SAVE_FLAG_MULTIFD_FLUSH messages, Peter Xu, 2024/12/06
- [PATCH v3 2/7] migration/multifd: Allow to sync with sender threads only, Peter Xu, 2024/12/06
- [PATCH v3 5/7] migration/multifd: Remove sync processing on postcopy, Peter Xu, 2024/12/06
- [PATCH v3 6/7] migration/multifd: Cleanup src flushes on condition check, Peter Xu, 2024/12/06
- Re: [PATCH v3 6/7] migration/multifd: Cleanup src flushes on condition check,
Fabiano Rosas <=
- [PATCH v3 7/7] migration/multifd: Document the reason to sync for save_setup(), Peter Xu, 2024/12/06
- Re: [PATCH v3 0/7] migration/multifd: Some VFIO / postcopy preparations on flush, Fabiano Rosas, 2024/12/17