ttm_bo_shrink_avoid_wait(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ttm_bo_shrink_avoid_wait(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this one's a tiny little function from the TTM (translation table manager) world, and it's literally just a yes-or-no vibe check πŸŽ€


✨ NAME ✨

ttm_bo_shrink_avoid_wait β€” the "should we not wait for the GPU while we're shrinking stuff" decider 🫢


🌸 SYNOPSIS 🌸

bool ttm_bo_shrink_avoid_wait (void );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” no arguments, babe. none. zero. it takes nothing, it needs nothing, main character energy πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so like, sometimes β€” think direct reclaim β€” you genuinely should not be waiting around. and when I say waiting I mean especially GPU waiting, because that kind of stall can freeze up a whole system that could otherwise be out here making actual progress shrinking something else that takes way less time πŸ™ˆ

it's giving "don't block the group chat waiting on one person to type" fr fr πŸ’€


⭐ RETURN ⭐

  • true β€” yep, GPU waiting should be avoided 😌
  • false β€” nope, you're fine to wait πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/gpu/drm/ttm/ttm_bo_util.c β€” and honestly, the whole squad:


and that's the whole page, no cap 🌈 this icon lives in ./drivers/gpu/drm/ttm and the docs are dated October 2026 β€” go off, kernel docs, you ate πŸ’œβœ¨

πŸ“¦ where this page comes from