Re: [PATCH v2 01/15] userfaultfd: introduce mfill_copy_folio_locked() helper

From: David Hildenbrand (Arm)

Date: Fri Mar 20 2026 - 07:58:43 EST


On 3/6/26 18:18, Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)" <rppt@xxxxxxxxxx>
>
> Split copying of data when locks held from mfill_atomic_pte_copy() into
> a helper function mfill_copy_folio_locked().
>
> This makes improves code readability and makes complex
> mfill_atomic_pte_copy() function easier to comprehend.
>
> No functional change.
>
> Acked-by: Peter Xu <peterx@xxxxxxxxxx>
> Signed-off-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
> ---

Reviewed-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

--
Cheers,

David