gpu_buddy_reset_clear(9)
gpu_buddy_reset_clear(9) β Kernel API Manual vibes, bestie. π
πΈ NAME πΈ
gpu_buddy_reset_clear β reset blocks clear state. periodt, bestie.
β¨ SYNOPSIS β¨
void gpu_buddy_reset_clear (struct gpu_buddy *mm , bool is_clear );
it returns void, so thereβs no return value to obsess over β just pure reset energy. slay. π
π«Ά ARGUMENTS π«Ά
mmβ GPU buddy manager. thestruct gpu_buddy *youβre handing over.is_clearβ blocks clear state. the clear-state value the reset follows.
π DESCRIPTION π
okay so hereβs the whole tea: it resets the clear state based on the is_clear value, and it does that for each block in the freetree. every block in the freetree gets the reset treatment. thatβs the function. no cap. iconic. β¨
π SEE ALSO π
Kernel file: ./drivers/gpu/buddy.c β yes, the buddy source. go peek:
gpu_buddy_assert(9)gpu_buddy_init(9)gpu_buddy_fini(9)gpu_buddy_free_block(9)gpu_buddy_allocated_addr_to_block(9)gpu_buddy_free_list(9)gpu_buddy_block_trim(9)gpu_buddy_alloc_blocks(9)gpu_buddy_block_print(9)gpu_buddy_print(9)
byeee π«Ά β source/version ./drivers/gpu, dated October 2026. mwah π
π¦ 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