The patch titled vmscan-second-chance-replacement-for-anonymous-pages-fix has been removed from the -mm tree. Its filename was vmscan-second-chance-replacement-for-anonymous-pages-fix.patch This patch was dropped because it was folded into vmscan-second-chance-replacement-for-anonymous-pages.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: vmscan-second-chance-replacement-for-anonymous-pages-fix From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> Under memcg, active anon tend not to go to inactive anon. This will cause OOM in memcg easily when tons of anon was used at once. This check was lacked in split-lru. This patch is a fix agaisnt vmscan-second-chance-replacement-for-anonymous-pages.patch Changelog: v1 -> v2: - avoid adding "else". Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> Acked-by: Rik van Riel <riel@xxxxxxxxxx> Acked-by: Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> Cc: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/vmscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/vmscan.c~vmscan-second-chance-replacement-for-anonymous-pages-fix mm/vmscan.c --- a/mm/vmscan.c~vmscan-second-chance-replacement-for-anonymous-pages-fix +++ a/mm/vmscan.c @@ -1351,7 +1351,7 @@ static unsigned long shrink_zone(int pri * Even if we did not try to evict anon pages at all, we want to * rebalance the anon lru active/inactive ratio. */ - if (scan_global_lru(sc) && inactive_anon_is_low(zone)) + if (!scan_global_lru(sc) || inactive_anon_is_low(zone)) shrink_active_list(SWAP_CLUSTER_MAX, zone, sc, priority, 0); throttle_vm_writeout(sc->gfp_mask); _ Patches currently in -mm which might be from kamezawa.hiroyu@xxxxxxxxxxxxxx are origin.patch cgroup-fix-possible-memory-leak.patch cgroup-remove-duplicate-code-in-allocate_cg_link.patch cgroup-uninline-cgroup_has_css_refs.patch memcg-remove-redundant-check-in-move_task.patch cpuset-a-bit-cleanup-for-scan_for_empty_cpusets.patch cpuset-speed-up-sched-domain-partition.patch cpuset-fix-wrong-calculation-of-relax-domain-level.patch cpuset-clean-up-cpuset-hierarchy-traversal-code.patch vmscan-second-chance-replacement-for-anonymous-pages.patch vmscan-second-chance-replacement-for-anonymous-pages-fix.patch vmscan-second-chance-replacement-for-anonymous-pages-memcg-lru-scan-fix.patch unevictable-lru-infrastructure-putback_lru_page-unevictable-page-handling-rework.patch mlock-mlocked-pages-are-unevictable-fix-truncate-race-and-sevaral-comments.patch fix-double-unlock_page-in-2626-rc5-mm3-kernel-bug-at-mm-filemapc-575.patch restore-patch-failure-of-vmstat-unevictable-and-mlocked-pages-vm-eventspatch.patch memrlimit-add-memrlimit-controller-documentation.patch memrlimit-setup-the-memrlimit-controller.patch memrlimit-cgroup-mm-owner-callback-changes-to-add-task-info.patch memrlimit-add-memrlimit-controller-accounting-and-control.patch memrlimit-improve-error-handling.patch memrlimit-improve-error-handling-update.patch memrlimit-handle-attach_task-failure-add-can_attach-callback.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