ttm_pool_drop_backed_up(9)
π ttm_pool_drop_backed_up β kernel API manual, but make it cute
okay so bestie, the page header is ttm_pool_drop_backed_up(9) and the manual is the Kernel API Manual β and today's main character is ttm_pool_drop_backed_up, a tiny little function that does one job and does it iconically β¨
πΈ NAME πΈ
ttm_pool_drop_backed_up β release the content of a swapped-out struct ttm_tt
like, it's a cleanup function. it drops stuff. it's giving responsible queen π
π SYNOPSIS π
void ttm_pool_drop_backed_up (struct ttm_tt *tt );
yes that's the whole signature, no cap, it returns void (nothing back, just vibes) π«Ά
β¨ ARGUMENTS β¨
ttβ thestruct ttm_tt. that's it. that's the argument. it's the struct, the one and only, the main character of this function π―
π¦ DESCRIPTION π¦
So basically: this function releases the handles with their associated content, or any remaining pages, of a backed-up struct ttm_tt. π§Ή
let me say that again because it ate: handles with associated content β released. any remaining pages of a backed-up struct ttm_tt β also released. it's a whole cleanup situation and she handles both cases, periodt. π₯
π SEE ALSO π
okay the friend group is BIG and honestly every single one of them deserves a shoutout, so here they are, no skips, no cuts: π
- the kernel file
./drivers/gpu/drm/ttm/ttm_pool.cβ the actual location, iykyk ποΈ 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_backup(9)ttm_pool_init(9)ttm_pool_synchronize_shrinkers(9)ttm_pool_fini(9)ttm_pool_debugfs(9)ttm_pool_mgr_init(9)ttm_pool_mgr_fini(9)
that's sixteen besties and a source file. literally a whole group chat. ππ
ngl if you're here you probably got sent by ttm_pool_backup(9) or you're doing teardown and you need the content GONE. either way, slay.
and that's the page!! π sign-off time: this absolute icon lives in ./drivers/gpu/drm/ttm, the date on it is October 2026, and the whole thing is filed under ttm_pool_drop_backed_up(9). go forth and release those handles 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