iopt_pages_unfill_xarray(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… iopt_pages_unfill_xarray(9) β€” the Kernel API Manual, bestie edition

okay so today we're learning about iopt_pages_unfill_xarray, straight out of the Kernel API Manual. yes it's a mouthful, no you're not gonna say it out loud at a party πŸŽ€


✨ NAME ✨

iopt_pages_unfill_xarray β€” update the xarry after removing an access πŸ¦‹

✨ SYNOPSIS ✨

void iopt_pages_unfill_xarray (struct iopt_pages *pages , unsigned long
start_index , unsigned long last_index );

like, look at her. three params, zero chill πŸ’…

✨ ARGUMENTS ✨

  • pages β€” the pages to act on πŸ’– these are the actual stars of the show, the pages we're doing stuff to
  • start_index β€” the starting PFN index ✨ where we begin, bestie
  • last_index β€” the last PFN index 🌸 where we stop, obviously

✨ DESCRIPTION ✨

so here's the tea β˜• this one gets called when an iopt_pages_access is removed, and what it does is remove pages from the itree. iconic behaviour, honestly.

and listen β€” there's a very important detail here that you literally cannot skip πŸ™ˆ the access should already be removed from the access_itree by the time this runs. that's the vibe check, that's the prerequisite, that's non-negotiable. so make sure that already happened first, okay? iykyk πŸ’€

✨ SEE ALSO ✨

the whole friend group honestly, go read them all 🫢


and that's the page, babes πŸ’œ this little gem lives in ./drivers/iommu/iommufd and it's dated October 2026 β€” go off, king πŸ‘‘ slay, periodt ⭐🌈

πŸ“¦ where this page comes from