Re: [PATCH v5 6/6] userfaultfd: convert mfill_atomic() to use a folio

Mike Kravetz
2023-04-07T00:07:31Z

On 03/31/23 17:39, Peng Zhang wrote:
> From: ZhangPeng <zhangpeng362@huawei.com>
>
> 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@huawei.com>
> ---
> 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@oracle.com>
--
Mike Kravetz