Re: [PATCH v5 6/6] userfaultfd: convert mfill_atomic() to use a folio
From: Mike Kravetz
Date: Thu Apr 06 2023 - 20:07:31 EST
On 03/31/23 17:39, Peng Zhang wrote:
> From: ZhangPeng <zhangpeng362@xxxxxxxxxx>
>
> Convert mfill_atomic_pte_copy(), shmem_mfill_atomic_pte() and
> mfill_atomic_pte() to take in a folio pointer.
> Convert mfill_atomic() to use a folio. Convert page_kaddr to kaddr in
> mfill_atomic().
>
> Signed-off-by: ZhangPeng <zhangpeng362@xxxxxxxxxx>
> ---
> include/linux/shmem_fs.h | 4 ++--
> mm/shmem.c | 16 ++++++++--------
> mm/userfaultfd.c | 40 ++++++++++++++++++++--------------------
> 3 files changed, 30 insertions(+), 30 deletions(-)
Looks good to me,
Reviewed-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx>
--
Mike Kravetz