mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-12 12:25:18 +02:00
BACKPORT: mm: remove references to page_add_new_anon_rmap in comments
Refer to folio_add_new_anon_rmap() instead.
Link: https://lkml.kernel.org/r/20231211162214.2146080-7-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit cb9089babc
)
[ Trivial comment fixups in mm/rmap.c - Kalesh Singh ]
Bug: 313807618
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: I35ec185759d9d1d5be8a4b90e7ab6946abb56ac0
This commit is contained in:
parent
453679c573
commit
b2debfc14b
|
@ -1282,9 +1282,9 @@ static void __page_check_anon_rmap(struct folio *folio, struct page *page,
|
||||||
* We have exclusion against folio_add_anon_rmap_*() because the caller
|
* We have exclusion against folio_add_anon_rmap_*() because the caller
|
||||||
* always holds the page locked.
|
* always holds the page locked.
|
||||||
*
|
*
|
||||||
* We have exclusion against page_add_new_anon_rmap because those pages
|
* We have exclusion against folio_add_new_anon_rmap because those pages
|
||||||
* are initially only visible via the pagetables, and the pte is locked
|
* are initially only visible via the pagetables, and the pte is locked
|
||||||
* over the call to page_add_new_anon_rmap.
|
* over the call to folio_add_new_anon_rmap.
|
||||||
*/
|
*/
|
||||||
VM_BUG_ON_FOLIO(folio_anon_vma(folio)->root != vma->anon_vma->root,
|
VM_BUG_ON_FOLIO(folio_anon_vma(folio)->root != vma->anon_vma->root,
|
||||||
folio);
|
folio);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user