STRUCT TTM_BACKUP_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, you’re looking at struct ttm_backup_flags(9) from the Kernel API Manual, and it’s giving tiny-but-mighty flag-struct energy ✨

πŸŽ€ NAME πŸŽ€

struct ttm_backup_flags β€” Flags to govern backup behaviour.

✨ SYNOPSIS ✨

okay so this is the whole struct, no cap:

       struct ttm_backup_flags {
           u32 purge : 1;
           u32 writeback : 1;
        };

πŸ’… Members πŸ’…

these are the two fields inside it, and yes they’re both u32 bitfields with : 1:

  • purge β€” Free pages without backing up. Bypass pools. 🫧 literally the β€œno backup, just free” option.
  • writeback β€” Attempt to copy contents directly to swap space, even if that means blocking on writes to external memory. 😭 bestie, it said blocking, so it can wait on those external-memory writes.
no extra lore, that’s genuinely what the two flags say πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./include/drm/ttm/ttm_tt.h β€” and the whole squad is:


xoxo from source/version ./include/drm/ttm, dated October 2026, all about struct ttm_backup_flags(9) πŸ’–πŸ¦‹

πŸ“¦ where this page comes from