Message ID | 20200212003324.Q8v63ZuPP%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | + memcg-lost-css_put-in-memcg_expand_shrinker_maps.patch added to -mm tree | expand |
--- a/mm/memcontrol.c~memcg-lost-css_put-in-memcg_expand_shrinker_maps +++ a/mm/memcontrol.c @@ -409,8 +409,10 @@ int memcg_expand_shrinker_maps(int new_i if (mem_cgroup_is_root(memcg)) continue; ret = memcg_expand_one_shrinker_map(memcg, size, old_size); - if (ret) + if (ret) { + mem_cgroup_iter_break(NULL, memcg); goto unlock; + } } unlock: if (!ret)