Skip to content

mm: move pte table reclaim code to memory.c

David Hildenbrand (Red Hat) linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review 1 of 2 applied

Patches in v1 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2mm: move pte table reclaim code to memory.cMAINTAINERS mm/Makefile mm/internal.h +2 more+62 -983 replies
2/2mm/memory: handle non-split locks correctly in zap_empty_pte_table()mm/memory.c+6 -41 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchQi Zheng
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/2] mm: move pte table reclaim code to memory.c

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 <[email protected]>
Cc David Hildenbrand <[email protected]>
Cc Lorenzo Stoakes <[email protected]>
Cc "Liam R. Howlett" <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Mike Rapoport <[email protected]>
Cc Suren Baghdasaryan <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Qi Zheng <[email protected]>

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

Signature · 1 line
2.52.0