mbox series

[0/3] userfaultfd: convert userfaultfd functions to use folios

Message ID 20230314033734.481904-1-zhangpeng362@huawei.com (mailing list archive)
Headers show
Series userfaultfd: convert userfaultfd functions to use folios | expand

Message

Peng Zhang March 14, 2023, 3:37 a.m. UTC
From: ZhangPeng <zhangpeng362@huawei.com>

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(-)