xe_destroy_wq_queue(9)
okay so bestie, welcome to xe_destroy_wq_queue(9) from the Kernel API Manual β this is the lil function that queues work on the destroy workqueue, and we're gonna read it together like a group chat πβ¨
πΈ NAME πΈ
xe_destroy_wq_queue β Queue work on the destroy workqueue. That's the whole vibe. No cap.
β¨ SYNOPSIS β¨
bool xe_destroy_wq_queue (struct work_struct *work );
π ARGUMENTS π
workβ work item to queue. That's it, that's the argument, she's simple and iconic π«Ά
π DESCRIPTION π
okay so the destroy workqueue has module lifetime, meaning she sticks around with the module. She's used for GuC exec queue teardown that can outlive a single xe_device β yes, literally outlive one device, main character energy ππ
SVM pagemap destroy is different bestie: it uses the per-device xe->destroy_wq instead. Not this one. Don't mix them up, iykyk πΈ
β RETURN β
Returns true if the work was queued, and false if it was already pending. Periodt. π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/xe/xe_module.cβ the source file bestie, go look π xe_destroy_wq_flush(9)β the flush counterpart, slay β¨
and that's the page, bestie ππ this gem comes from ./drivers/gpu/drm/xe (source/version) and is dated October 2026, page xe_destroy_wq_queue(9) from the Kernel API Manual β mwah, go queue responsibly πβ¨
π¦ 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