The patch titled vmscan: improve comment on mlocked page in reclaim has been added to the -mm tree. Its filename is vmscan-factor-out-page-reference-checks-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/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: vmscan: improve comment on mlocked page in reclaim From: Johannes Weiner <hannes@xxxxxxxxxxx> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx> Reviewed-by: Rik van Riel <riel@xxxxxxxxxx> Cc: Minchan Kim <minchan.kim@xxxxxxxxx> Cc: OSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> Cc: Lee Schermerhorn <lee.schermerhorn@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/vmscan.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff -puN mm/vmscan.c~vmscan-factor-out-page-reference-checks-fix mm/vmscan.c --- a/mm/vmscan.c~vmscan-factor-out-page-reference-checks-fix +++ a/mm/vmscan.c @@ -599,7 +599,10 @@ static enum page_references page_check_r if (sc->order > PAGE_ALLOC_COSTLY_ORDER) return PAGEREF_RECLAIM; - /* Mlock lost isolation race - let try_to_unmap() handle it */ + /* + * Mlock lost the isolation race with us. Let try_to_unmap() + * move the page to the unevictable list. + */ if (vm_flags & VM_LOCKED) return PAGEREF_RECLAIM; _ Patches currently in -mm which might be from hannes@xxxxxxxxxxx are bootmem-avoid-dma32-zone-by-default.patch vmscan-factor-out-page-reference-checks.patch vmscan-factor-out-page-reference-checks-fix.patch vmscan-drop-page_mapping_inuse.patch vmscan-detect-mapped-file-pages-used-only-once.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html