[PATCH v1 0/2] mm: move pte table reclaim code to memory.c
From: David Hildenbrand (Red Hat)
Date: Mon Jan 19 2026 - 17:07:13 EST
Some cleanups for PT table reclaim code, triggered by a false-positive
warning we might start to see soon after we unlocked pt-reclaim on
architectures besides x86-64.
Cross compiled on plenty of architectures, tested on x86-64 with
a simple test case that allocates plenty of page tables in a sparse
memory area to see if they will get reclaimed.
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: David Hildenbrand <david@xxxxxxxxxx>
Cc: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>
Cc: "Liam R. Howlett" <Liam.Howlett@xxxxxxxxxx>
Cc: Vlastimil Babka <vbabka@xxxxxxx>
Cc: Mike Rapoport <rppt@xxxxxxxxxx>
Cc: Suren Baghdasaryan <surenb@xxxxxxxxxx>
Cc: Michal Hocko <mhocko@xxxxxxxx>
Cc: Qi Zheng <qi.zheng@xxxxxxxxx>
David Hildenbrand (Red Hat) (2):
mm: move pte table reclaim code to memory.c
mm/memory: handle non-split locks correctly in zap_empty_pte_table()
MAINTAINERS | 1 -
mm/Makefile | 1 -
mm/internal.h | 18 -------------
mm/memory.c | 70 ++++++++++++++++++++++++++++++++++++++++++-----
mm/pt_reclaim.c | 72 -------------------------------------------------
5 files changed, 64 insertions(+), 98 deletions(-)
delete mode 100644 mm/pt_reclaim.c
base-commit: ac1303686c1e823c9c88b20c5f8587629ad94a11
--
2.52.0