GPU_BUDDY_C...S_ALLOCATION(9)
π GPU_BUDDY_C...S_ALLOCATION(9) β a.k.a. the "no gaps, bestie" flag π
okay so real talk, this page lives in the Kernel API Manual (very official, very demure β¨) and it's about one lil flag from the GPU buddy allocator that has opinions about where your memory goes. buckle up π¦
β¨ NAME β¨
GPU_BUDDY_CONTIGUOUS_ALLOCATION β literally "Require physically contiguous blocks" π«Ά like it says it right there in the name, no cap
πΈ SYNOPSIS πΈ
GPU_BUDDY_CONTIGUOUS_ALLOCATION
that's it. that's the whole thing. it's a flag, not a function, she's lowkey minimal π
π₯ DESCRIPTION π₯
okay so here's the vibe check π β the allocation must be satisfied with a single contiguous block. one block. no pieces, no fragments, no "we'll figure it out later." it's giving main character energy and she refuses to be split up π
and if the requested size cannot be allocated contiguously? bestie, it just fails. dramatic? maybe. but the failure comes back as -ENOSPC and that's the whole story π
ngl it's not mean about it, it's just honest β contiguous or nothing π
π¦ SEE ALSO π¦
- kernel file
./include/linux/gpu_buddy.hβ the home base, go say hi π GPU_BUDDY_RANGE_ALLOCATION(9)GPU_BUDDY_TOPDOWN_ALLOCATION(9)GPU_BUDDY_CLEAR_ALLOCATION(9)GPU_BUDDY_CLEARED(9)GPU_BUDDY_TRIM_DISABLE(9)struct gpu_buddy_block(9)struct gpu_buddy(9)gpu_buddy_driver_set_lock(9)gpu_buddy_driver_lock_held(9)
like, the whole friend group honestly β go read all of them, iykwim π
and that's the page!! β she's short and sweet and she knows exactly what she wants.
sign-off time π β this lil icon came from ./include/linux and she's dated October 2026, so mark your calendars bestie ππ mwah, go allocate something contiguous π
β¨
π¦ 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