The patch titled Subject: mm: clear PG_active on MADV_PAGEOUT has been added to the -mm tree. Its filename is mm-introduce-madv_pageout-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-introduce-madv_pageout-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-introduce-madv_pageout-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Minchan Kim <minchan@xxxxxxxxxx> Subject: mm: clear PG_active on MADV_PAGEOUT shrink_page_list expects every pages as argument should be no active LRU pages so we need to clear PG_active. Link: http://lkml.kernel.org/r/20190802200643.GA181880@xxxxxxxxxx Fixes: 06a833a1167e ("mm: introduce MADV_PAGEOUT") Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx> Reported-by: syzbot+8e6326965378936537c3@xxxxxxxxxxxxxxxxxxxxxxxxx Acked-by: Michal Hocko <mhocko@xxxxxxxx> Cc: James E.J. Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> Cc: Richard Henderson <rth@xxxxxxxxxxx> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Cc: Chris Zankel <chris@xxxxxxxxxx> Cc: Daniel Colascione <dancol@xxxxxxxxxx> Cc: Dave Hansen <dave.hansen@xxxxxxxxx> Cc: Hillf Danton <hdanton@xxxxxxxx> Cc: Joel Fernandes (Google) <joel@xxxxxxxxxxxxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> Cc: Oleksandr Natalenko <oleksandr@xxxxxxxxxx> Cc: Shakeel Butt <shakeelb@xxxxxxxxxx> Cc: Sonny Rao <sonnyrao@xxxxxxxxxx> Cc: Suren Baghdasaryan <surenb@xxxxxxxxxx> Cc: Tim Murray <timmurray@xxxxxxxxxx> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/vmscan.c | 1 + 1 file changed, 1 insertion(+) --- a/mm/vmscan.c~mm-introduce-madv_pageout-fix +++ a/mm/vmscan.c @@ -2171,6 +2171,7 @@ unsigned long reclaim_pages(struct list_ } if (nid == page_to_nid(page)) { + ClearPageActive(page); list_move(&page->lru, &node_page_list); continue; } _ Patches currently in -mm which might be from minchan@xxxxxxxxxx are mm-release-the-spinlock-on-zap_pte_range.patch mm-introduce-madv_cold.patch mm-change-pageref_reclaim_clean-with-page_refreclaim.patch mm-introduce-madv_pageout.patch mm-introduce-madv_pageout-fix.patch mm-factor-out-common-parts-between-madv_cold-and-madv_pageout.patch