Skip to content

mm/rmap: convert page_move_anon_rmap() to folio_move_anon_rmap()

David Hildenbrand linux-mm lkml oe-kbuild-all 1 version Applied

Status from this message: [merged mm-stable] memory-move-exclusivity-detection-in-do_wp_page-into-wp_can_reuse_anon_folio.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3mm/rmap: move SetPageAnonExclusive() out of page_move_anon_rmap()mm/huge_memory.c mm/hugetlb.c mm/memory.c +1 more+5 -22 repliesApplied
2/3mm/rmap: convert page_move_anon_rmap() to folio_move_anon_rmap()include/linux/rmap.h mm/huge_memory.c mm/hugetlb.c +2 more+11 -132 repliesApplied
3/3memory: move exclusivity detection in do_wp_page() into wp_can_reuse_anon_folio()mm/memory.c+45 -433 repliesApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchSuren BaghdasaryanVishal Moola (Oracle)
1/3R-b R-b
2/3R-b R-b
3/3

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/3] mm/rmap: convert page_move_anon_rmap() to folio_move_anon_rmap()

Convert page_move_anon_rmap() to folio_move_anon_rmap(), letting the callers handle PageAnonExclusive. I'm including cleanup patch #3 because it fits into the picture and can be done cleaner by the conversion.

Cc Andrew Morton <[email protected]>
Cc Mike Kravetz <[email protected]>
Cc Muchun Song <[email protected]>
Cc Suren Baghdasaryan <[email protected]>

David Hildenbrand (3):
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()

 include/linux/rmap.h |  2 +-
 mm/huge_memory.c     |  3 +-
 mm/hugetlb.c         |  6 ++-
 mm/memory.c          | 87 +++++++++++++++++++++++---------------------
 mm/rmap.c            | 17 ++++-----
 5 files changed, 59 insertions(+), 56 deletions(-)
Signature · 1 line
2.41.0