ttm_pool_mgr_fini(9)
π ttm_pool_mgr_fini(9) β the Kernel API Manual glow-up
okay bestie, so this is ttm_pool_mgr_fini from the Kernel API Manual, and it's honestly the chillest little teardown function you'll ever meet π
β¨ NAME β¨
ttm_pool_mgr_fini β Finalize globals π§
πΈ SYNOPSIS πΈ
void ttm_pool_mgr_fini (void );
π¦ ARGUMENTS π¦
voidβ literally no arguments. nothing. zero. the void is void-ing π
π DESCRIPTION π
So what does it actually do? Two things, and they're both iconic:
- it cleans up the global pools π«§
- it unregisters the MM shrinker π
that's it. that's the whole function. lowkey main character energy for such a tiny job, ngl β¨
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/ttm/ttm_pool.c struct ttm_pool_dma(9)struct ttm_pool_alloc_state(9)struct ttm_pool_tt_restore(9)Partial backup and restoration of a struct ttm_tt.(9)ttm_pool_free_range(9)ttm_pool_alloc(9)ttm_pool_restore_and_alloc(9)ttm_pool_free(9)ttm_pool_drop_backed_up(9)ttm_pool_backup(9)ttm_pool_init(9)ttm_pool_synchronize_shrinkers(9)ttm_pool_fini(9)ttm_pool_debugfs(9)ttm_pool_mgr_init(9)
like, go read the whole friend group, they're all linked π
fr fr that's the whole page β no hidden options, no secret flags, no gotchas. just vibes and cleanup π
mwah π this cutie lives in ./drivers/gpu/drm/ttm, and the version you're reading is the October 2026 one. go forth and finalize those globals, bestie πβ
π¦ 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