drm_pagemap_...etired_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_pagemap_skip_retired_pages(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this one's a tiny little function page but she still ate, and we're gonna get through her together, no cap 🫢


🌸 NAME 🌸

drm_pagemap_skip_retired_pages β€” skip retired device-private folios, periodt πŸ’…


✨ SYNOPSIS ✨

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

πŸŽ€ ARGUMENTS πŸŽ€

  • src_pfns β€” the MIGRATE_PFN-encoded source array, like the whole squad of pfns in their little encoded fits πŸ’–
  • npages β€” how many entries are living in src_pfns, aka the headcount at the door πŸ¦‹

πŸ”₯ DESCRIPTION πŸ”₯

So what she does: she skips source folios that have already been migrated to RAM 😌 the way we know they're already migrated is the migrated flag stored in the physical folio's zone_device_data β€” that's the vibe check, iykyk ⭐

Basically: already-moved folios? Not our problem anymore, we're walking past them πŸ’€βœ¨


🌈 SEE ALSO 🌈

the whole friend group, fr fr β€” go say hi πŸ‘‘


aaaaand that's the whole page bestie, short and iconic πŸ§šβ€β™€οΈπŸ’œ this little gem comes from ./drivers/gpu/drm, dated October 2026 β€” mwah, go forth and skip those retired folios πŸ’‹πŸŽ€

πŸ“¦ where this page comes from