ttm_tt_swapout(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is ttm_tt_swapout(9) from the Kernel API Manual β€” the page about swapping out a TT object. yes, that's the whole vibe. πŸ’…

✨ SYNOPSIS ✨

int ttm_tt_swapout (struct ttm_device *bdev , struct ttm_tt *ttm , gfp_t
       gfp_flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • bdev β€” the TTM device structure, aka the main character here. 🫢
  • ttm β€” the struct ttm_tt. literally the TT object itself. ✨
  • gfp_flags β€” flags to use for memory allocation. no cap, that's what they're for. 🌸

πŸ¦‹ DESCRIPTION πŸ¦‹

Swap out a TT object to a shmem_file, okay? Then it returns the number of pages swapped out, or a negative error code if things go sideways. 😭 that's it, that's the lore. πŸ’œ

🌈 SEE ALSO 🌈

these are the linked besties, go check them out iykyk. 🧚


mwah πŸ’‹ source/version: ./drivers/gpu/drm/ttm Β· date: October 2026. slay and bye. πŸ‘‘

πŸ“¦ where this page comes from