ttm_pool_fini(9)
π ttm_pool_fini β Kernel API Manual β¨
okay so bestie, welcome to the glow-up era of ttm_pool_fini(9) β literally the "we're so done here" function of the TTM pool world π«Ά
πΈ NAME πΈ
ttm_pool_fini β Cleanup a pool π§Ήβ¨
π SYNOPSIS π
void ttm_pool_fini (struct ttm_pool *pool );
π¦ ARGUMENTS π¦
poolβ the pool to clean up π like, this is the pool, the one and only, the main character of this whole operation π
β DESCRIPTION β
So what does it actually do, you ask? It frees all the pages in the pool π (yes, all of them, no leftovers, we're not hoarding) and then it unregisters the types from the global shrinker. That's it. That's the whole vibe. Clean exit, no messy goodbyes π β¨
π SEE ALSO π
Kernel file ./drivers/gpu/drm/ttm/ttm_pool.c β and literally the whole friend group, fr fr:
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_debugfs(9)ttm_pool_mgr_init(9)ttm_pool_mgr_fini(9)
okay that's the whole page, bestie, go forth and free your pages π¦π
./drivers/gpu/drm/ttm Β· October 2026 Β· xoxo, ttm_pool_fini(9) πβ¨π
π¦ 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