STRUCT TTM_POOL_ALLOC_STATE(9)
πΈ NAME πΈ
okay so bestie, welcome to the manual page for struct ttm_pool_alloc_state (that's section 9 of the Kernel API Manual, iykyk) β it's literally the current state of the tt page allocation process π
β¨ SYNOPSIS β¨
struct ttm_pool_alloc_state {
struct page **pages;
struct page **caching_divide;
dma_addr_t *dma_addr;
pgoff_t remaining_pages;
enum ttm_caching tt_caching;
};
π Members π
pagesβ pointer to the next tt page pointer you're gonna populate π she's your write cursor, basicallycaching_divideβ pointer to the first page pointer whose page has a staged-but-not-committed caching transition going from write-back tott_cachingπ¦ (yes, "staged but not committed" β she's in her situationship era, not official yet)dma_addrβ pointer to the next ttdma_addressentry to populate, if there is one β¨remaining_pagesβ how many pages are still left to populate π₯tt_cachingβ the requested cpu-caching for the pages being allocated π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/ttm/ttm_pool.c, plus the whole friend group:
struct ttm_pool_dma(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)ttm_pool_mgr_fini(9)
π«Ά that's the whole page, no cap β every member, every pointer, every reference, all of it π
and that's a wrap, bestie π this one lives down in ./drivers/gpu/drm/ttm, dated October 2026, and it's signed struct ttm_pool_alloc_state(9) β slay, go populate some pages β¨π
π¦ 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