amdkfd_fence_check_mm(9)
π amdkfd_fence_check_mm β the kernel API manual, but make it group chat π
okay so bestie, welcome to the amdkfd_fence_check_mm(9) page β¨ this is a kernel API manual moment, and honestly? it's giving "small function, big responsibility" π we're checking whether we should prevent eviction of @f by @mm, and yes the @s are staying because they're iconic π
π¦ SYNOPSIS π¦
bool amdkfd_fence_check_mm (struct dma_fence *f , struct mm_struct *mm
);
literally that's the whole signature, no cap π₯ returns a bool, takes a struct dma_fence * and a struct mm_struct *, and that's it π«Ά
πΈ ARGUMENTS πΈ
fβ[IN]the fence π§ this is the one we're checking against, main character energy frmmβ[IN]themmthat needs to be verified π the one we're putting under the magnifying glass π
π DESCRIPTION π
so here's the vibe check: check if mm is the same as that of the fence f π« if it's the same, return TRUE β if it's not, return FALSE π that's the entire plot, and honestly it ate π
β¨ SEE ALSO β¨
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.cπ (go read it, it's right there) amdkfd_fence_enable_signaling(9)πamdkfd_fence_release(9)π¦
ngl bestie, this one's short and sweet β but the facts stay exactly as they are, periodt π
π that's a wrap on the amdkfd_fence_check_mm(9) page π β this cutie lives in ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's part of the Kernel API Manual πΈ slay, go check your fences π₯π
π¦ 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