mm/rmap: correct stale comment of rmap_walk_anon and rmap_walk_file
authorKemeng Shi <shikemeng@huaweicloud.com>
Tue, 18 Jul 2023 09:21:36 +0000 (17:21 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:12:39 +0000 (10:12 -0700)
commit89be82b4fed258b63a201d92fca95e7c55913c23
tree6c73f1ca2b70f9ac08337eaf65767b471d4c4f51
parentcabdf74e6b319c989eb8e812f1854291ae0af1c0
mm/rmap: correct stale comment of rmap_walk_anon and rmap_walk_file

1. update page to folio in comment
2. add comment of new added @locked

Link: https://lkml.kernel.org/r/20230718092136.1935789-1-shikemeng@huaweicloud.com
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/rmap.c