Skip to content

RFC mm: tweak page cache migration

Dave Hansen linux-mm lkml oe-kbuild-all stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest12 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12mm/vmscan: restore zone_reclaim_mode ABIDocumentation/admin-guide/sysctl/vm.rst mm/vmscan.c+12 -71 reply
2/12mm/vmscan: move RECLAIM* bits to uapi headerinclude/uapi/linux/mempolicy.h mm/vmscan.c+7 -81 reply
3/12mm/vmscan: replace implicit RECLAIM_ZONE checks with explicit checksinclude/linux/swap.h mm/khugepaged.c mm/page_alloc.c+9 -21 reply
4/12mm/numa: node demotion data structure and lookupmm/migrate.c+16 -00 replies
5/12mm/numa: automatically generate node migration ordermm/internal.h mm/migrate.c mm/page_alloc.c+138 -20 replies
6/12mm/migrate: update migration order during on hotplug eventsmm/migrate.c+93 -00 replies
7/12mm/migrate: make migrate_pages() return nr_succeededinclude/linux/migrate.h mm/compaction.c mm/gup.c +5 more+36 -190 replies
8/12mm/migrate: demote pages during reclaiminclude/linux/migrate.h mm/vmscan.c+99 -00 replies
9/12mm/vmscan: add page demotion counterinclude/linux/vm_event_item.h mm/vmscan.c mm/vmstat.c+10 -00 replies
10/12mm/vmscan: Consider anonymous pages without swapinclude/linux/node.h mm/vmscan.c+37 -50 replies
11/12mm/vmscan: never demote for memcg reclaimmm/vmscan.c+25 -80 replies
12/12mm/migrate: new zone_reclaim_mode to enable reclaim migrationDocumentation/admin-guide/sysctl/vm.rst include/linux/swap.h include/uapi/linux/mempolicy.h +1 more+16 -30 replies

Reviews trailers per patch

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

PatchBen WidawskyDavid RientjesChristoph Lameter
1/12R-b A-b A-b
2/12R-b A-b A-b
3/12R-b A-b
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [RFC][PATCH 00/12] mm: tweak page cache migration

First of all, I think this little slice of code is a bit under-documented. Perhaps this will help clarify things.

I'm pretty confident the page_count() check in the first patch is right, which is why I removed it outright. The xas_load() check is a bit murkier, so I just left a warning in for it.

Cc Nicholas Piggin <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc Yang Shi <[email protected]>