migrate_device_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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_pfns returned from migrate_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:


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