STRUCT TTM_POOL_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the struct ttm_pool_type(9) page from the Kernel API Manual ✨ and no cap, this whole vibe is a Pool for a certain memory type. it's giving β€œone pool, but make it specific” and we're obsessed 🫢


✨ SYNOPSIS ✨

struct ttm_pool_type {
    struct ttm_pool *pool;
    unsigned int order;
    enum ttm_caching caching;
    struct list_head shrinker_list;
    struct list_lru pages;
};

πŸŽ€ Members πŸŽ€

okay so the members are lowkey iconic, and every single one is here:

  • pool β€” the pool we belong to; might be NULL for the global ones πŸ™ˆ
  • order β€” the allocation order our pages have, periodt.
  • caching β€” the caching type our pages have, and it's an enum ttm_caching in the struct.
  • shrinker_list β€” our place on the global shrinker list; main character energy on that list fr fr.
  • pages β€” the lru_list of pages in the pool; yes, that's exactly the vibe.

πŸ’… SEE ALSO πŸ’…

go check the kernel file ./include/drm/ttm/ttm_pool.h and then struct ttm_pool(9) β€” iykyk πŸ¦‹

mwah πŸ’‹ β€” source/version: ./include/drm/ttm, October 2026; page: struct ttm_pool_type(9). bye bestie 🫢

πŸ“¦ where this page comes from