hl_mmu_fini(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ hl_mmu_fini(9) β€” release the MMU module πŸŽ€

okay so welcome to the hl_mmu_fini(9) page from the Kernel API Manual β€” it's giving β€œlast one out, turn off the MMU lights” energy, and honestly? iconic. πŸ’…

🌸 NAME 🌸

hl_mmu_fini β€” release the MMU module.

✨ SYNOPSIS ✨

void hl_mmu_fini (struct hl_device *hdev );

🫢 ARGUMENTS 🫢

  • hdev β€” habanalabs device structure. that's the habanalabs device struct you're handing over to this fini function, bestie. 🫢

πŸ’– DESCRIPTION πŸ’–

okay so hl_mmu_fini does the following, bestie:

  • Disable MMU in H/W. πŸ’€
  • Free the pgt_infos pool. 🧚
🚨 important vibe check: All contexts should be freed before calling this function. like, for real, don't skip this one. periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

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

go check out these other icons too:


mwah πŸ’‹ β€” this page's source/version is ./drivers/accel/habanalabs/common/mmu/mmu.c, dated October 2026. now go free those contexts, disable that MMU in H/W, and slay your teardown. πŸŽ€βœ¨

πŸ“¦ where this page comes from