GPU_BUDDY_TRIM_DISABLE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… GPU_BUDDY_TRIM_DISABLE(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” this is the page for GPU_BUDDY_TRIM_DISABLE(9), and it’s lowkey iconic. πŸŽ€


✨ NAME ✨

GPU_BUDDY_TRIM_DISABLE β€” Disable automatic block trimming πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

GPU_BUDDY_TRIM_DISABLE

🌸 DESCRIPTION 🌸

okay so by default, if an allocation is smaller than the allocated block, the excess memory is trimmed and returned to the free pool. no cap. πŸ’–

this flag disables trimming, so the full power-of-two block size stays put. it’s giving β€œkeep the whole block, bestie” energy. 🫢

tl;dr: GPU_BUDDY_TRIM_DISABLE = trimming is off, and the full power-of-two block size stays. periodt. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

bestie, the kernel file is ./include/linux/gpu_buddy.h, and here’s the whole squad you gotta check out:


mwah πŸ’– signing off from ./include/linux, October 2026 β€” GPU_BUDDY_TRIM_DISABLE(9) out. πŸŽ€

πŸ“¦ where this page comes from