Commit 51038171 authored by Greg Thelen's avatar Greg Thelen Committed by Linus Torvalds

memcg: fix stale mem_cgroup_force_empty() comment

Commit f61c42a7 ("memcg: remove tasks/children test from
mem_cgroup_force_empty()") removed memory reparenting from the function.

Fix the function's comment.

Link: http://lkml.kernel.org/r/1462569810-54496-1-git-send-email-gthelen@google.comSigned-off-by: default avatarGreg Thelen <gthelen@google.com>
Acked-by: default avatarJohannes Weiner <hannes@cmpxchg.org>
Acked-by: default avatarMichal Hocko <mhocko@suse.com>
Cc: Vladimir Davydov <vdavydov@virtuozzo.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d2a1a1f0
...@@ -2652,8 +2652,7 @@ static inline bool memcg_has_children(struct mem_cgroup *memcg) ...@@ -2652,8 +2652,7 @@ static inline bool memcg_has_children(struct mem_cgroup *memcg)
} }
/* /*
* Reclaims as many pages from the given memcg as possible and moves * Reclaims as many pages from the given memcg as possible.
* the rest to the parent.
* *
* Caller is responsible for holding css reference for memcg. * Caller is responsible for holding css reference for memcg.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment