From: Johannes Weiner Date: Wed, 10 Dec 2014 23:44:50 +0000 (-0800) Subject: mm: memcontrol: remove stale page_cgroup_lock comment X-Git-Tag: v5.15~16738^2~112 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22811c6bc3c764d8935383ad0ddd7a96b45d75dc;p=platform%2Fkernel%2Flinux-starfive.git mm: memcontrol: remove stale page_cgroup_lock comment There is no cgroup-specific page lock anymore. Signed-off-by: Johannes Weiner Acked-by: Michal Hocko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 031ca34..78cb3b0 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -2467,10 +2467,6 @@ static void commit_charge(struct page *page, struct mem_cgroup *memcg, int isolated; VM_BUG_ON_PAGE(pc->mem_cgroup, page); - /* - * we don't need page_cgroup_lock about tail pages, becase they are not - * accessed by any other context at this point. - */ /* * In some cases, SwapCache and FUSE(splice_buf->radixtree), the page