memcg: fix stale mem_cgroup_force_empty() comment
Subsystems (2)
[email protected]
maintainerPATCH 39/162 memcg: fix stale mem_cgroup_force_empty() comment
From: Greg Thelen <[email protected]>
Subject: 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]>
Acked-by Johannes Weiner <[email protected]>
Acked-by Michal Hocko <[email protected]>
Cc Vladimir Davydov <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/memcontrol.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
mm/memcontrol.c renamed from mm/memcontrol.c~memcg-fix-stale-mem_cgroup_force_empty-comment +1 -2
@@ -2652,8 +2652,7 @@ static inline bool memcg_has_children(st }/* -* 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. */
_