Let's support mTHP for anon page.
David Hildenbrand (9):
mm/rmap: drop stale comment in page_add_anon_rmap and
hugepage_add_anon_rmap()
mm/rmap: move SetPageAnonExclusive out of __page_set_anon_rmap()
mm/rmap: move folio_test_anon() check out of __folio_set_anon()
mm/rmap: warn on new PTE-mapped folios in page_add_anon_rmap()
mm/rmap: simplify PageAnonExclusive sanity checks when adding anon
rmap
mm/rmap: pass folio to hugepage_add_anon_rmap()
mm/rmap: move SetPageAnonExclusive() out of page_move_anon_rmap()
mm/rmap: convert page_move_anon_rmap() to folio_move_anon_rmap()
memory: move exclusivity detection in do_wp_page() into
wp_can_reuse_anon_folio()
Ryan Roberts (12):
mm: more ptep_get() conversion
mm/readahead: do not allow order-1 folio
mm: allow deferred splitting of arbitrary anon large folios
mm: non-pmd-mappable, large folios for folio_add_new_anon_rmap()
mm: thp: introduce multi-size THP sysfs interface
mm: thp: support allocation of anonymous multi-size THP
selftests/mm/kugepaged: restore thp settings at exit
selftests/mm: factor out thp settings management
selftests/mm: support multi-size THP interface in thp_settings
selftests/mm/khugepaged: enlighten for multi-size THP
selftests/mm/cow: generalize do_run_with_thp() helper
selftests/mm/cow: add tests for anonymous multi-size THP
Zach O'Keefe (1):
mm/thp: fix "mm: thp: kill __transhuge_page_enabled()"
Documentation/admin-guide/mm/transhuge.rst | 97 ++++-
Documentation/filesystems/proc.rst | 6 +-
fs/proc/task_mmu.c | 3 +-
include/linux/huge_mm.h | 183 +++++++--
include/linux/rmap.h | 4 +-
mm/filemap.c | 2 +-
mm/huge_memory.c | 248 +++++++++++--
mm/hugetlb.c | 6 +-
mm/khugepaged.c | 20 +-
mm/ksm.c | 2 +-
mm/memory.c | 204 +++++++---
mm/migrate.c | 2 +-
mm/page_vma_mapped.c | 3 +-
mm/readahead.c | 14 +-
mm/rmap.c | 126 ++++---
mm/userfaultfd.c | 2 +-
tools/testing/selftests/mm/Makefile | 4 +-
tools/testing/selftests/mm/cow.c | 183 ++++++---
tools/testing/selftests/mm/khugepaged.c | 410 ++++-----------------
tools/testing/selftests/mm/run_vmtests.sh | 2 +
tools/testing/selftests/mm/thp_settings.c | 349 ++++++++++++++++++
tools/testing/selftests/mm/thp_settings.h | 80 ++++
22 files changed, 1332 insertions(+), 618 deletions(-)
create mode 100644 tools/testing/selftests/mm/thp_settings.c
create mode 100644 tools/testing/selftests/mm/thp_settings.h
--
2.27.0