|
@@ -1663,7 +1663,7 @@ static int mem_cgroup_hierarchical_reclaim(struct mem_cgroup *root_mem,
|
|
excess = res_counter_soft_limit_excess(&root_mem->res) >> PAGE_SHIFT;
|
|
excess = res_counter_soft_limit_excess(&root_mem->res) >> PAGE_SHIFT;
|
|
|
|
|
|
/* If memsw_is_minimum==1, swap-out is of-no-use. */
|
|
/* If memsw_is_minimum==1, swap-out is of-no-use. */
|
|
- if (root_mem->memsw_is_minimum)
|
|
|
|
|
|
+ if (!check_soft && root_mem->memsw_is_minimum)
|
|
noswap = true;
|
|
noswap = true;
|
|
|
|
|
|
while (1) {
|
|
while (1) {
|