[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v2 3/9] migration/multifd: Introduce MultiFDSendData
From: |
Peter Xu |
Subject: |
Re: [RFC PATCH v2 3/9] migration/multifd: Introduce MultiFDSendData |
Date: |
Mon, 22 Jul 2024 15:22:30 -0400 |
On Mon, Jul 22, 2024 at 02:59:08PM -0300, Fabiano Rosas wrote:
> Add a new data structure to replace p->pages in the multifd
> channel. This new structure will hide the multifd payload type behind
> an union, so we don't need to add a new field to the channel each time
> we want to handle a different data type.
>
> This also allow us to keep multifd_send_pages() as is, without needing
> to complicate the pointer switching.
>
> Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Peter Xu <peterx@redhat.com>
--
Peter Xu
- [RFC PATCH v2 0/9] migration/multifd: Remove multifd_send_state->pages, Fabiano Rosas, 2024/07/22
- [RFC PATCH v2 1/9] migration/multifd: Reduce access to p->pages, Fabiano Rosas, 2024/07/22
- [RFC PATCH v2 3/9] migration/multifd: Introduce MultiFDSendData, Fabiano Rosas, 2024/07/22
- Re: [RFC PATCH v2 3/9] migration/multifd: Introduce MultiFDSendData,
Peter Xu <=
- [RFC PATCH v2 4/9] migration/multifd: Make MultiFDPages_t:offset a flexible array member, Fabiano Rosas, 2024/07/22
- [RFC PATCH v2 2/9] migration/multifd: Pass in MultiFDPages_t to file_write_ramblock_iov, Fabiano Rosas, 2024/07/22
- [RFC PATCH v2 6/9] migration/multifd: Move pages accounting into multifd_send_zero_page_detect(), Fabiano Rosas, 2024/07/22
- [RFC PATCH v2 5/9] migration/multifd: Replace p->pages with an union pointer, Fabiano Rosas, 2024/07/22