amdgpu_amdkf...sigbus_delay(9)
π amdgpu_amdkf...sigbus_delay(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a tiny little function with big main character energy, and yes the name is a whole mouthful, we don't make the rules π
β¨ NAME β¨
amdgpu_amdkfd_set_sigbus_delay β literally just sets the per-process KFD SIGBUS delay, that's the whole vibe π¦
β¨ SYNOPSIS β¨
int amdgpu_amdkfd_set_sigbus_delay (struct task_struct *task , u32 ms );
like, it takes a task and a u32 and hands you back an int, periodt π
β¨ ARGUMENTS β¨
taskβ the task in the target process π this is the one whose vibe we're checking, iykykmsβ the encoded delay value, and bestie there are three whole moods here π:0= immediate, no waiting, go go go π₯0xFFFFFFFF= suppress, aka we're not doing this at all π- anything else = delay in milliseconds, like an actual real number of ms β
β¨ DESCRIPTION β¨
so what it actually does: it stores the SIGBUS delivery option on the kfd_process associated with task. that's it. that's the whole job π
but here's the tea π β if the calling process has not opened /dev/kfd yet, meaning there's no kfd_process to speak of, this is a no-op. nothing happens. zero. nada. the option only applies to processes that actually use KFD, so don't come for this function if you never opened the device, fr fr π
not me writing to a process that doesn't exist π β genuinely though, no error, no drama, it just quietly does nothing.
β¨ SEE ALSO β¨
- Kernel file
./drivers/gpu/drm/amd/amdkfd/kfd_process.cβ go read the source, it's giving lore π kfd_get_cu_occupancy(9)π§kfd_process_device_init_vm(9)πΈ
and that's the page!! π«Ά brought to you by the source tree over at ./drivers/gpu/drm/amd/amdkfd, dated October 2026, and titled amdgpu_amdkf...sigbus_delay(9) because apparently we ran out of room for the full name in the header π slay, go set some sigbus delays 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