Commit 9ac18279 authored by David Hildenbrand's avatar David Hildenbrand Committed by Kefeng Wang
Browse files

mm: remove one last reference to page_add_*_rmap()

mainline inclusion
from mainline-v6.8-rc1
commit 4a8ffab02db55c8a70063c57519cadf72d480ed4
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I9CESE
CVE: NA

-------------------------------------------------

Let's fixup one remaining comment.  Note that the only trace remaining of
the old rmap interface is in an example in Documentation/trace/ftrace.rst,
that we'll just leave alone.

Link: https://lkml.kernel.org/r/20231220224504.646757-41-david@redhat.com


Signed-off-by: default avatarDavid Hildenbrand <david@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Yin Fengwei <fengwei.yin@intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
(cherry picked from commit 4a8ffab02db55c8a70063c57519cadf72d480ed4)
Signed-off-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
parent 8e0cd70c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -647,7 +647,7 @@ folio_within_vma(struct folio *folio, struct vm_area_struct *vma)
 * should be called with vma's mmap_lock held for read or write,
 * under page table lock for the pte/pmd being added or removed.
 *
 * mlock is usually called at the end of page_add_*_rmap(), munlock at
 * mlock is usually called at the end of folio_add_*_rmap_*(), munlock at
 * the end of folio_remove_rmap_*(); but new anon folios are managed by
 * folio_add_lru_vma() calling mlock_new_folio().
 */