migrate_device_pages(9)
π NAME π
okay bestie, welcome to migrate_device_pages(9) from the Kernel API Manual β this one is literally about migrating meta-data from the src page to the dst page. no cap, that's the name vibe π
β¨ SYNOPSIS β¨
void migrate_device_pages (unsigned long *src_pfns , unsigned long
*dst_pfns , unsigned long npages );
π ARGUMENTS π
src_pfnsβsrc_pfnsreturned frommigrate_device_range. yes, that exact one π«Άdst_pfnsβ array of pfns allocated by the driver to migrate memory to. the driver's little destination lineup β¨npagesβ number of pages in the range. count 'em, bestie π’
π¦ DESCRIPTION π¦
Equivalent to migrate_vma_pages. This is called to migrate struct page meta-data from source struct page to destination. that's the tea β β the meta-data moves from source to destination π
πΈ SEE ALSO πΈ
Kernel file ./mm/migrate_device.c plus these iconic cross-refs, same order:
migrate_vma_split_folio(9)migrate_vma_setup(9)migrate_vma_insert_huge_pmd_page(9)migrate_vma_pages(9)migrate_vma_finalize(9)migrate_device_range(9)migrate_device_pfns(9)
cute sign-off time: source/version ./mm, date October 2026, page migrate_device_pages(9) β bye bestie, go migrate that meta-data π
π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms