Skip to contentSkip to conversation

memcg: fix stale mem_cgroup_force_empty() comment

PATCH New [email protected] 1 participant 1 message May 20, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 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.

---

 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
diff -puN mm/memcontrol.c~memcg-fix-stale-mem_cgroup_force_empty-comment mm/memcontrol.c
@@ -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.
  */

_