[PATCH 0/3] userfaultfd: convert userfaultfd functions to use folios
From: Peng Zhang
Date: Mon Mar 13 2023 - 23:38:33 EST
From: ZhangPeng <zhangpeng362@xxxxxxxxxx>
This patch series converts several userfaultfd functions to use folios.
And this series pass the userfaultfd selftests and the LTP userfaultfd
test cases.
ZhangPeng (3):
userfaultfd: convert mcopy_atomic_pte() to use a folio
userfaultfd: convert __mcopy_atomic_hugetlb() to use a folio
userfaultfd: convert __mcopy_atomic() to use a folio
include/linux/hugetlb.h | 4 +--
include/linux/mm.h | 3 +-
include/linux/shmem_fs.h | 2 +-
mm/hugetlb.c | 25 +++++++-------
mm/memory.c | 18 +++++-----
mm/shmem.c | 17 +++++----
mm/userfaultfd.c | 74 +++++++++++++++++++---------------------
7 files changed, 70 insertions(+), 73 deletions(-)
--
2.25.1