hl_mmu_hr_pool_destroy(9)
π 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 π¦
- Kernel file
./drivers/accel/habanalabs/common/mmu/mmu.c hl_mmu_get_funcs(9),hl_mmu_init(9),hl_mmu_fini(9),hl_mmu_ctx_init(9),hl_mmu_scramble_addr(9),hl_mmu_descramble_addr(9),hl_mmu_get_hop_pte_phys_addr(9),hl_mmu_hr_init(9),hl_mmu_hr_fini(9),hl_mmu_hr_free_hop_remove_pgt(9),hl_mmu_hr_pte_phys_to_virt(9),hl_mmu_hr_write_pte(9),hl_mmu_hr_clear_pte(9),hl_mmu_hr_put_pte(9),hl_mmu_hr_get_pte(9),hl_mmu_hr_get_next_hop_pgt_info(9),hl_mmu_hr_alloc_hop(9),hl_mmu_hr_get_alloc_next_hop(9),hl_mmu_hr_get_tlb_info(9)
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
- 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