folio_dup_file_rmap_ptes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the Kernel API Manual page for folio_dup_file_rmap_ptes(9) β€” the main character energy here is all about duplicating PTE mappings of a page range of a folio. That's the whole vibe, periodt. πŸ’…


✨ SYNOPSIS ✨

void folio_dup_file_rmap_ptes (struct folio *folio , struct page *page ,
       int nr_pages , struct vm_area_struct *dst_vma );

πŸŽ€ ARGUMENTS πŸŽ€

  • folio β€” the folio to duplicate the mappings of. πŸ¦‹
  • page β€” the first page to duplicate the mappings of. 🌸
  • nr_pages β€” the number of pages of which the mapping will be duplicated. ✨
  • dst_vma β€” the destination vm area. πŸ’–

🌈 DESCRIPTION 🌈

The page range of the folio is defined by [page, page + nr_pages) β€” that's literally the exact interval, no cap. 🫢

🚨 heads up, bestie: the caller needs to hold the page table lock. fr fr, that's a thing.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/linux/rmap.h β€” and the related-iconic crew is:


mwah πŸ’‹ cute little sign-off time: this page is sourced from ./include/linux, dated October 2026, and yes bestie, the page name stays folio_dup_file_rmap_ptes(9) β€” slay. πŸ’œ

πŸ“¦ where this page comes from