hl_mmu_hr_f...p_remove_pgt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hl_mmu_hr_free_hop_remove_pgt(9) β€” the kernel API manual, but make it cute

okay so bestie, we're in section 9 of the Kernel API Manual today, and the star of the show is hl_mmu_hr_free_hop_remove_pgt. her whole vibe? free the HOP and yank the PGT out of the hash. that's it, that's the girl. πŸŽ€


✨ NAME ✨

hl_mmu_hr_free_hop_remove_pgt β€” free HOP and remove PGT from hash πŸ¦‹

like literally what it says on the tin. she frees a HOP, she removes a PGT from the hash. main character behaviour, no notes.


🌸 SYNOPSIS 🌸

void hl_mmu_hr_free_hop_remove_pgt (struct pgt_info *pgt_info , struct
hl_mmu_hr_priv *hr_priv , u32 hop_table_size );

it's a void, she returns nothing, she simply is. three arguments, all icons, all required. πŸ’–


πŸ‘‘ ARGUMENTS πŸ‘‘

  • pgt_info β€” the page table info structure. your PGT's whole personality lives in here, so hand her over gently. 🫢
  • hr_priv β€” the MMU HR private data. yes it's private, yes we still need it, mind your business. πŸ™ˆ
  • hop_table_size β€” the HOP table size. it's a u32, it's the size of that HOP table, and it matters. don't sleep on it. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, fr fr β€” nobody exists in a vacuum:

Kernel file ./drivers/accel/habanalabs/common/mmu/mmu.c

go read them, they're all slay in their own way. 🌈


ngl bestie, if you got here looking for a return value β€” there isn't one. void ate and left no crumbs. 😭

⭐ and that's the page! brought to you by the Kernel API Manual, section 9, with the source living over at ./drivers/accel/habanalabs/com..., dated October 2026. literally iconic, periodt. πŸ§šπŸ’œ

πŸ“¦ where this page comes from