iommu_free_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

iommu_free_pages β€” bestie, it frees pages. that's the whole vibe ✨

🌸 SYNOPSIS 🌸

void iommu_free_pages (void *virt );

πŸŽ€ ARGUMENTS πŸŽ€

  • virt β€” the virtual address of the page you're freeing. like, the actual address of the page. hand it over and it's gone 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the thing, and this is important: the page you're passing in must have been allocated by iommu_alloc_pages_node_sz. that's not a suggestion, that's the rule πŸ’… if it came from anywhere else, you're not in the allocated-by-the-right-function club and we can't help you 😭

lowkey do a vibe check on your pointer before you call this. was it born from iommu_alloc_pages_node_sz? yes? slay, proceed. no? absolutely do not πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ


anyway that's the whole page, no cap 🧚 this little icon lives in ./drivers/iommu, it's dated October 2026, and it's serving full Kernel API Manual energy ⭐ go free some pages responsibly, ily πŸ’–

πŸ“¦ where this page comes from