aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/memcontrol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 0f1f7a7374ba..c0500e4d3a2f 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -806,6 +806,7 @@ int mem_cgroup_shrink_usage(struct mm_struct *mm, gfp_t gfp_mask)
806 806
807 do { 807 do {
808 progress = try_to_free_mem_cgroup_pages(mem, gfp_mask); 808 progress = try_to_free_mem_cgroup_pages(mem, gfp_mask);
809 progress += res_counter_check_under_limit(&mem->res);
809 } while (!progress && --retry); 810 } while (!progress && --retry);
810 811
811 css_put(&mem->css); 812 css_put(&mem->css);