]> git.baikalelectronics.ru Git - kernel.git/commit
mm/rmap: fix obsolete comment in __page_check_anon_rmap()
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 26 Feb 2021 01:17:59 +0000 (17:17 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Feb 2021 17:41:01 +0000 (09:41 -0800)
commitab67865e967c63bc452928016273079d9d1c8cb8
treeff2d55e3d008b9951166e3540abcd76654ca650d
parent54aeaf46556d3bab2379aed5ac17c0b609c8db3c
mm/rmap: fix obsolete comment in __page_check_anon_rmap()

Commit 56b192ae5cca ("ksm: no debug in page_dup_rmap()") has reverted
page_dup_rmap() to an inline atomic_inc of mapcount.  So page_dup_rmap()
does not call __page_check_anon_rmap() anymore.

Link: https://lkml.kernel.org/r/20210128110209.50857-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/rmap.c