amdgpu_amdkf...sigbus_delay(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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, iykyk
  • ms β€” 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 ✨


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