xe_mem_pool_bo_swap_guard(9)
π xe_mem_pool_bo_swap_guard(9) π
okay so this is the manual page for xe_mem_pool_bo_swap_guard(9) β from the Kernel API Manual, bestie, and it's literally about getting your hands on a mutex β¨
πΈ NAME πΈ
xe_mem_pool_bo_swap_guard β grab the mutex that guards swap operations on a memory pool π«Ά
π¦ SYNOPSIS π¦
struct mutex * xe_mem_pool_bo_swap_guard (struct xe_mem_pool *pool );
π ARGUMENTS π
- _
pool_ β the memory pool, periodt. that's the one you're passing in π
β RETURN β
you get back the swap guard mutex β or NULL if the shadow pool hasn't been created yet π no shadow pool, no mutex, iykyk
π SEE ALSO π
this is the part where it's giving β¨friend groupβ¨ β the kernel file ./drivers/gpu/drm/xe/xe_mem_pool.c, plus all these icons:
struct xe_mem_pool(9)xe_mem_pool_init(9)xe_mem_pool_sync(9)xe_mem_pool_swap_shadow_locked(9)xe_mem_pool_sync_shadow_locked(9)xe_mem_pool_gpu_addr(9)xe_mem_pool_cpu_addr(9)xe_mem_pool_bo_flush_write(9)xe_mem_pool_bo_sync_read(9)xe_mem_pool_alloc_node(9)xe_mem_pool_insert_node(9)xe_mem_pool_free_node(9)xe_mem_pool_node_cpu_addr(9)xe_mem_pool_dump(9)
oh and before i forget π§ the header up top says xe_mem_pool_bo_swap_guard(9) and the footer's from ./drivers/gpu/drm/xe, dated October 2026 β same title, same page number, cute little bookends fr fr π
k bye, go read your mutex docs bestie ππ
π¦ 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