aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/memcontrol.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 964a70035e8f..9b4993ee46b3 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -606,6 +606,8 @@ static int mem_cgroup_hierarchical_reclaim(struct mem_cgroup *root_mem,
606 ret = try_to_free_mem_cgroup_pages(root_mem, gfp_mask, noswap); 606 ret = try_to_free_mem_cgroup_pages(root_mem, gfp_mask, noswap);
607 if (mem_cgroup_check_under_limit(root_mem)) 607 if (mem_cgroup_check_under_limit(root_mem))
608 return 0; 608 return 0;
609 if (!root_mem->use_hierarchy)
610 return ret;
609 611
610 next_mem = mem_cgroup_get_first_node(root_mem); 612 next_mem = mem_cgroup_get_first_node(root_mem);
611 613