STRUCT TTM_BO_SWAPOUT_WALK(9)
π struct ttm_bo_swapout_walk(9) β Kernel API Manual
okay bestie, welcome to the Kernel API Manual for struct ttm_bo_swapout_walk β¨ this one's short and sweet, so grab your lil boba and let's get into it π§π«Ά
πΈ NAME πΈ
struct ttm_bo_swapout_walk β literally just the parameters for the swapout walk, no cap π
β¨ SYNOPSIS β¨
struct ttm_bo_swapout_walk {
struct ttm_lru_walk walk;
gfp_t gfp_flags;
bool hit_low, evict_low;
};
look at her, she's iconic π
π¦ Members π¦
walkβ the walk base parameters. the foundation, the main character energy πgfp_flagsβ thegfp_flagsto use forttm_tt_swapout. yes bestie, those flags πhit_lowβ whether we should attempt to swap BO's with low watermark threshold. like, should we even try with the low ones? πevict_lowβ if we cannot swap a bo whentry_lowis false (first pass). so like, plan B behaviour, iykyk π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/ttm/ttm_bo.c and her whole friend group π«Ά:
ttm_bo_move_to_lru_tail(9)ttm_bo_set_bulk_move(9)ttm_bo_eviction_valuable(9)ttm_bo_evict_first(9)ttm_bo_alloc_at_place(9)struct ttm_bo_evict_walk(9)ttm_bo_evict_cgroup(9)ttm_bo_pin(9)ttm_bo_unpin(9)ttm_bo_alloc_resource(9)ttm_bo_validate(9)ttm_bo_init_reserved(9)ttm_bo_init_validate(9)ttm_bo_unmap_virtual(9)ttm_bo_wait_ctx(9)ttm_bo_swapout(9)ttm_bo_populate(9)
and that's the whole page, bestie β short king behaviour fr fr ππ this one came from ./drivers/gpu/drm/ttm, dated October 2026, and it's filed under struct ttm_bo_swapout_walk(9). slay, go read the others now, periodt π
β¨
π¦ 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