ENUM KFD_UNMAP_QUEUES_FILTER(9)
π enum kfd_unmap_queues_filter π
okay so bestie, this is a page from the Kernel API Manual β yes, the kernel, the big scary one, but we're gonna get through it together π«Ά it's literally just an enum, you've got this.
β¨ NAME β¨
enum kfd_unmap_queues_filter β the enum for queue filters. that's it, that's the whole vibe. it's giving "small but mighty" π
πΈ SYNOPSIS πΈ
enum kfd_unmap_queues_filter {
KFD_UNMAP_QUEUES_FILTER_ALL_QUEUES ,
KFD_UNMAP_QUEUES_FILTER_DYNAMIC_QUEUES ,
KFD_UNMAP_QUEUES_FILTER_BY_PASID
};
look at her. three constants, zero drama. iykyk π
π Constants π
so these are the three besties of the enum, each one picks a different set of queues to preempt. preempting, if you were wondering, is like the kernel going "excuse me, your turn is OVER" π
KFD_UNMAP_QUEUES_FILTER_ALL_QUEUESβ preempts all queues in the running queues list. every single one. no survivors, no exceptions, main character energy fr fr π₯KFD_UNMAP_QUEUES_FILTER_DYNAMIC_QUEUESβ preempts all non-static queues in the run list. so like, the dynamic ones only. the static girlies get to stay. lowkey fair tbh β¨KFD_UNMAP_QUEUES_FILTER_BY_PASIDβ preempts queues that belongs to a specific process. yes, one particular process, hand-picked, targeted, iconic π (and yes the original grammar says "belongs" β we're not fixing it, we're respecting the source material π«Ά)
π¦ SEE ALSO π¦
the whole friend group, in case you wanna go read more:
- Kernel file
./drivers/gpu/drm/amd/amdkfd/kfd_priv.henum kfd_ioctl_flags(9)enum kfd_queue_type(9)struct queue_properties(9)struct queue(9)amdkfd_ioctl_t(9)enum kfd_config_dequeue_wait_counts_cmd(9)
reminder bestie: this is kernel-level queue preemption stuff, so it's not like a cute little userland flag you can just yolo. read the actual structs before you touch anything, okay? π
that's the whole page!! short and sweet, just how we like it π and for the sign-off: this little beauty lives over in ./drivers/gpu/drm/amd/amdkfd, it's dated October 2026, and yes the header on the original was enum kfd_unm...ueues_filter(9) because even kernel docs get a little truncated sometimes π slay, bye!! ππ§π
π¦ 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