iommu_free_pages(9)
π 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 π
- the kernel file
./drivers/iommu/iommu-pages.c(iykyk π) iommu_alloc_pages_node_sz(9)iommu_put_pages_list(9)iommu_pages_start_incoherent(9)iommu_pages_start_incoherent_list(9)iommu_pages_stop_incoherent_list(9)iommu_pages_free_incoherent(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms