Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mm: memcontrol: remove stale page_cgroup_lock comment

There is no cgroup-specific page lock anymore.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Johannes Weiner and committed by
Linus Torvalds
22811c6b a1ad2897

-4
-4
mm/memcontrol.c
··· 2467 2467 int isolated; 2468 2468 2469 2469 VM_BUG_ON_PAGE(pc->mem_cgroup, page); 2470 - /* 2471 - * we don't need page_cgroup_lock about tail pages, becase they are not 2472 - * accessed by any other context at this point. 2473 - */ 2474 2470 2475 2471 /* 2476 2472 * In some cases, SwapCache and FUSE(splice_buf->radixtree), the page