commit | c054a78c66c7a5aa218220d8949ebcf13a86b796 | [log] [tgz] |
---|---|---|
author | Yu Zhao <[email protected]> | Wed Jan 31 16:20:02 2018 -0800 |
committer | Linus Torvalds <[email protected]> | Wed Jan 31 17:18:39 2018 -0800 |
tree | 2979862ba38fe056a0dd80bebcea67a60ba490b9 | |
parent | 9c3760eb80880f3e02546e0a2ef479e1454986b3 [diff] |
memcg: refactor mem_cgroup_resize_limit() mem_cgroup_resize_limit() and mem_cgroup_resize_memsw_limit() have identical logics. Refactor code so we don't need to keep two pieces of code that does same thing. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Yu Zhao <[email protected]> Acked-by: Vladimir Davydov <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Johannes Weiner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>