i915_ttm_buddy_man_fini(9)
π
i915_ttm_buddy_man_fini β bestie, it's time to say goodbye π
okay so real quick, this is from the Kernel API Manual, section 9, and the star of the show is i915_ttm_buddy_man_fini(9)</p>. she's the cleanup queen. the fini to the init. every main character needs a graceful exit, and this is hers. π
β¨ NAME β¨
i915_ttm_buddy_man_fini β literally just Destroy the buddy allocator ttm manager. that's it. that's the whole vibe. she tears it down. π₯
π¦ SYNOPSIS π¦
int i915_ttm_buddy_man_fini (struct ttm_device *bdev , unsigned int type );
so you call her, you hand her the deets, she returns an int. periodt. π
πΈ ARGUMENTS πΈ
bdevβ The ttm device. yes, the one. the device in question, the whole reason we're here π«Άtypeβ Memory type we want to manage. which flavour of memory this manager is handling, iykyk π
π DESCRIPTION π
okay so here's the tea that actually matters, don't skip it: if you reserved anything with i915_ttm_buddy_man_reserve, that stuff will also be freed for us here. no cap. you don't gotta go back and clean it up yourself β she's got you. that's the whole point of her. π§β¨
β RETURN β
0on success π (slay, it worked)- a negative error code on failure π (it did not, in fact, slay)
π SEE ALSO π
the kernel file, in all her glory:
./drivers/gpu/drm/i915/i915_ttm_buddy_manager.c
and her besties, the whole squad, all in (9):
i915_ttm_buddy_man_init(9)i915_ttm_buddy_man_reserve(9)i915_ttm_buddy_man_visible_size(9)i915_ttm_buddy_man_avail(9)
π friendly reminder, bestie:finiis notinit. do not mix them up. one builds the buddy allocator ttm manager and one destroys her. character development, but make it destructive. π«Ά
and that's the page! a million thank-yous to ./drivers/gpu/drm/i915 for bringing us this icon, dated October 2026 β go off, kings πππ
π¦ 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