GPU_BUDDY_TRIM_DISABLE(9)
π 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:
GPU_BUDDY_RANGE_ALLOCATION(9)GPU_BUDDY_TOPDOWN_ALLOCATION(9)GPU_BUDDY_CONTIGUOUS_ALLOCATION(9)GPU_BUDDY_CLEAR_ALLOCATION(9)GPU_BUDDY_CLEARED(9)struct gpu_buddy_block(9)struct gpu_buddy(9)gpu_buddy_driver_set_lock(9)gpu_buddy_driver_lock_held(9)
mwah π signing off from ./include/linux, October 2026 β GPU_BUDDY_TRIM_DISABLE(9) out. π
π¦ 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