author | Daisuke Nishimura
<nishimura@mxp.nes.nec.co.jp> 2008-09-22 20:57:52 UTC |
committer | Linus Torvalds
<torvalds@linux-foundation.org> 2008-09-23 15:09:14 UTC |
parent | b4d19cc84e8e6838f4aa0b26b3afcdc8c7f71505 |
mm/memcontrol.c | +1 | -0 |
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 0f1f7a7374b..c0500e4d3a2 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) do { progress = try_to_free_mem_cgroup_pages(mem, gfp_mask); + progress += res_counter_check_under_limit(&mem->res); } while (!progress && --retry); css_put(&mem->css);