memcg: fix stale mem_cgroup_force_empty() comment
Subsystems (3)
PATCH 1/1 memcg: fix stale mem_cgroup_force_empty() comment
commit f61c42a7d911 ("memcg: remove tasks/children test from mem_cgroup_force_empty()") removed memory reparenting from the function.
Fix the function's comment.
Signed-off-by Greg Thelen <[email protected]>
--- mm/memcontrol.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
mm/memcontrol.c +1 -2
@@ -2636,8 +2636,7 @@ static inline bool memcg_has_children(struct mem_cgroup *memcg) }/* -* Reclaims as many pages from the given memcg as possible and moves -* the rest to the parent. +* Reclaims as many pages from the given memcg as possible. * * Caller is responsible for holding css reference for memcg. */
Signature · 1 line
2.8.0.rc3.226.g39d4020
Quoted 6 lines · Greg Thelen
commit
f61c42a7d911("memcg: remove tasks/children test frommem_cgroup_force_empty()") removed memory reparenting from the function.Fix the function's comment.
Signed-off-by Greg Thelen <[email protected]>
Acked-by Johannes Weiner <[email protected]>
Quoted 6 lines · Greg Thelen
commit
f61c42a7d911("memcg: remove tasks/children test frommem_cgroup_force_empty()") removed memory reparenting from the function.Fix the function's comment.
Signed-off-by Greg Thelen <[email protected]>
Acked-by Michal Hocko <[email protected]>
Quoted 20 lines
--- mm/memcontrol.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)mm/memcontrol.c +1
-2@@ -2636,8 +2636,7 @@ static inline bool memcg_has_children(struct mem_cgroup *memcg) }/* -* Reclaims as many pages from the given memcg as possible and moves -* the rest to the parent. +* Reclaims as many pages from the given memcg as possible. * * Caller is responsible for holding css reference for memcg. */ Signature · 1 line
2.8.0.rc3.226.g39d4020
Signature · 2 lines
Michal Hocko SUSE Labs