drm_pagemap...grated_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_pagemap_retire_migrated_pages πŸ’–

Okay bestie, welcome to the drm_pagemap...grated_pages(9) page from the Kernel API Manual β€” we're talking about drm_pagemap_retire_migrated_pages, the function that records migrated device-private folios. It's lowkey giving tiny-but-iconic, fr fr. 🫢✨

🌸 NAME 🌸

drm_pagemap_retire_migrated_pages β€” Record migrated device-private folios. That's the whole name vibe: it's the record-keeper for migrated device-private folios. πŸ’…

✨ SYNOPSIS ✨

Here's the signature, bestie β€” copy it exactly, no autocorrect shenanigans:

void drm_pagemap_retire_migrated_pages (unsigned long *src_pfns ,
unsigned long npages );

πŸŽ€ ARGUMENTS πŸŽ€

  • src_pfns β€” the source array after migrate_vma_pages or migrate_device_pages. Yes, that exact array. πŸ‘€
  • npages β€” the number of entries in src_pfns, so the function knows how many lil' entries are in the group chat. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the actual vibe, no cap: this function flags device-private folios that were successfully migrated to RAM before finalize unlocks the sources. The migrated state is stored in the physical folio β€” yes, the folio itself β€” so it survives later folio splits, and subsequent migrations can skip it. Periodt. πŸ’…πŸ”₯

πŸ”— SEE ALSO πŸ”—

If you wanna keep the group chat going, these are the related pages, files, and structs:


That's the whole page, bestie! πŸŽ€ Cute little sign-off from source/version ./drivers/gpu/drm, dated October 2026, on drm_pagemap...grated_pages(9). Byeee β€” go record those migrated folios! πŸ’œπŸ”₯

πŸ“¦ where this page comes from