diff options
author | David Hildenbrand <[email protected]> | 2023-12-20 23:44:51 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-12-29 11:58:53 -0800 |
commit | 18e8612e56244c6db3254d435a22344856a9c55b (patch) | |
tree | 76ab358b8b3698cde987fcdb05a71db72aa57646 | |
parent | 35668a4321461505dcc39b56a0d97b0ba2c99668 (diff) |
mm/ksm: page_remove_rmap() -> folio_remove_rmap_pte()
Let's convert replace_page().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Ryan Roberts <[email protected]>
Cc: Yin Fengwei <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
-rw-r--r-- | mm/ksm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1449,7 +1449,7 @@ static int replace_page(struct vm_area_struct *vma, struct page *page, set_pte_at_notify(mm, addr, ptep, newpte); folio = page_folio(page); - page_remove_rmap(page, vma, false); + folio_remove_rmap_pte(folio, page, vma); if (!folio_mapped(folio)) folio_free_swap(folio); folio_put(folio); |