From: ZhangPeng <zhangpeng362(a)huawei.com>
Backport page fault and fork optimization, including optimization for
folio add and split, remove uffd_wp and anon/cow/shared fault
optimization.
We can get a 3% performance improvment for lmbench fork_proc and 1.5%
for lmbench page_fault.
Kairui Song (5):
mm/filemap: return early if failed to allocate memory for split
mm/filemap: clean up hugetlb exclusion code
lib/xarray: introduce a new helper xas_get_order
lib/xarray: introduce a new helper xas_get_order
mm/filemap: optimize filemap folio adding
Kefeng Wang (2):
mm: memory: check userfaultfd_wp() in vmf_orig_pte_uffd_wp()
mm: swapfile: check usable swap device in __folio_throttle_swaprate()
include/linux/xarray.h | 6 +++
lib/test_xarray.c | 93 ++++++++++++++++++++++++++++++++++++++++++
lib/xarray.c | 49 ++++++++++++++--------
mm/filemap.c | 74 +++++++++++++++++++++------------
mm/memory.c | 10 ++---
mm/swapfile.c | 13 ++++--
6 files changed, 194 insertions(+), 51 deletions(-)
--
2.25.1