xe_destroy_wq_queue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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