hl_mmu_hr_pool_destroy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– hl_mmu_hr_pool_destroy(9) β€” destroy genpool πŸ’–

okay bestie, welcome to the Kernel API Manual ✨ this little icon is hl_mmu_hr_pool_destroy(9), and the name is literally the whole plot: she destroys a genpool. no cap πŸ’…

🌸 NAME 🌸

hl_mmu_hr_pool_destroy β€” destroy genpool

✨ SYNOPSIS ✨

void hl_mmu_hr_pool_destroy (struct hl_device *hdev , struct
hl_mmu_hr_priv *hr_priv , u32 hop_table_size );

it’s void, so there’s no return value to obsess over β€” she just does the thing and exits 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • hdev β€” habanalabs device structure. the device bestie herself πŸ’œ
  • hr_priv β€” MMU HR private data. her private little stash, iykyk πŸ™ˆ
  • hop_table_size β€” HOP table size. yes, exactly that 🌸

πŸ’… DESCRIPTION πŸ’…

This function does the following:

  • free entries allocated for shadow HOP0
  • free pool chunks
  • free pool

that’s the to-do list, and she’s checking every box βœ… literally: shadow HOP0 entries, pool chunks, then the pool itself. periodt πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹


this cutie comes from the Kernel API Manual, source/version line ./drivers/accel/habanalabs/com..., dated October 2026 β€” bye bestie, drink water and free your pool chunks πŸ“πŸ’–

πŸ“¦ where this page comes from