ttm_tt_swapout(9)
π 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β thestruct 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 π
- Kernel file
./drivers/gpu/drm/ttm/ttm_tt.c ttm_tt_backup(9)ttm_kmap_iter_tt_init(9)ttm_tt_setup_backup(9)
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
- 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