ttm_bo_eviction_valuable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ttm_bo_eviction_valuable(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes the fancy official one β€” and today's main character is ttm_bo_eviction_valuable(9). she's a little function with a big question: is it even worth it? 🫢


✨ NAME ✨

ttm_bo_eviction_valuable β€”

and that's it. that's the whole name line. the description after the dash is literally empty, no cap πŸ’€ the kernel devs said "she needs no introduction" and moved on. iconic behavior honestly πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

bool ttm_bo_eviction_valuable (struct ttm_buffer_object *bo , const
       struct ttm_place *place );

like, she returns a bool, she takes two pointers, she minds her own business. we stan a low-maintenance queen πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • bo β€” the buffer object to evict. this is the one on the chopping block, the one we're side-eyeing and asking "girl, are you worth keeping?" 😭
  • place β€” the placement we need to make room for. this is the new arrival, the reason we're even having this conversation. she needs space and she needs it now πŸƒβ€β™€οΈπŸ’¨

🌸 DESCRIPTION 🌸

so here's the vibe: this function checks if it is valuable to evict the BO to make room for the given placement. that's the whole assignment. it's a vibe check πŸ’… for buffers β€” is kicking this bo out actually worth it so place can slide in? yes or no, bestie, no essays needed.

lowkey the most honest function in the kernel fr fr 🧚

ngl, the original page gives us exactly one sentence of description and honestly? we respect the brevity. no filler, just vibes ✨

🌈 SEE ALSO 🌈

okay this is where she goes full social butterfly πŸ¦‹ β€” the kernel file is ./drivers/gpu/drm/ttm/ttm_bo.c and here's the whole friend group:

that's seventeen besties and every single one of them gets a mention. no one gets left on read in this manpage πŸ’œ


and that's the page, babe πŸŽ€ she lives in ./drivers/gpu/drm/ttm, her timestamp is October 2026, and she said what she said. go evict something (valuably). πŸ’…βœ¨πŸ”₯

πŸ“¦ where this page comes from