[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 6/7] migration/postcopy: Use uffd helpers
From: |
Peter Xu |
Subject: |
Re: [PATCH v2 6/7] migration/postcopy: Use uffd helpers |
Date: |
Thu, 19 Sep 2024 13:44:33 -0400 |
On Thu, Sep 19, 2024 at 02:46:25PM +0100, dave@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <dave@treblig.org>
>
> Use the uffd_copy_page, uffd_zero_page and uffd_wakeup helpers
> rather than calling ioctl ourselves.
>
> They return -errno on error, and print an error_report themselves.
> I think this actually makes postcopy_place_page actually more
> consistent in it's callers.
>
> Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Reviewed-by: Peter Xu <peterx@redhat.com>
--
Peter Xu
- [PATCH v2 0/7] Migration deadcode removal, dave, 2024/09/19
- [PATCH v2 6/7] migration/postcopy: Use uffd helpers, dave, 2024/09/19
- [PATCH v2 2/7] migration: Remove unused migrate_zero_blocks, dave, 2024/09/19
- [PATCH v2 5/7] util/userfaultfd: Return -errno on error, dave, 2024/09/19
- [PATCH v2 1/7] migration: Remove migrate_cap_set, dave, 2024/09/19
- [PATCH v2 3/7] migration: Deprecate zero-blocks capability, dave, 2024/09/19
- [PATCH v2 4/7] migration: Remove unused socket_send_channel_create_sync, dave, 2024/09/19