ttm_pool_debugfs(9)
π ttm_pool_debugfs β a kernel API manual moment β¨
Okay so bestie, we're looking at ttm_pool_debugfs(9) from the Kernel API Manual, and honestly? It's giving "small function, big main character energy." Let's get into it π
πΈ NAME πΈ
ttm_pool_debugfs β literally the debugfs dump function for a pool. That's her whole job. No cap π
β¨ SYNOPSIS β¨
int ttm_pool_debugfs (struct ttm_pool *pool , struct seq_file *m );
π¦ ARGUMENTS π¦
poolβ the pool you wanna dump the information for, like yes give us the tea πmβ theseq_fileyou're dumping it to, the destination of the vibes π
π₯ DESCRIPTION π₯
So what she does is: make a debugfs dump πΎ β and not just any dump, it's got the per pool info and the global information. Both. Together. Iconic behavior, honestly π«Ά
π SEE ALSO π
Lowkey this is the friend group, and they're all linked up in the 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_mgr_init(9)ttm_pool_mgr_fini(9)
Go read the whole crew, bestie β they're all in ./drivers/gpu/drm/ttm and they all ate π
And that's the page, periodt π Shoutout to the source spot ./drivers/gpu/drm/ttm, dated October 2026, and the manual herself ttm_pool_debugfs(9) β mwah, iconic, no notes ππ
π¦ 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