STRUCT TTM_BO_SWAPOUT_WALK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the gfp_flags to use for ttm_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 when try_low is 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 🫢:


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