group_queue_work(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ group_queue_work β€” the Kernel API Manual, bestie edition ✨

okay so welcome to the group_queue_work(9) page of the Kernel API Manual, and no cap, it's a short one but it's lowkey important 🫢


🌸 NAME 🌸

group_queue_work β€” Queue a group work πŸ’… (yes that's the whole name, she's iconic like that)


✨ SYNOPSIS ✨

group_queue_work (group , wname );

literally that's it. two args, no drama πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • group β€” the group you're queueing the work for πŸ’– like, whose work is this? that group's.
  • wname β€” the work name 🏷️ that's the label, iykyk.

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the vibe check: it grabs a ref and queues a work item to the scheduler workqueue ✨

but bestie listen πŸ‘€ β€” if the work was already queued, we release the reference we grabbed. so we're not out here hoarding refs, that's not the move πŸ’€

🚨 important one, no cap: Work callbacks must release the reference we grabbed here. that's on the callback, not on this function. don't leave it hanging, the ref will just sit there 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/panthor/panthor_sched.c and honestly the whole panthor friend group πŸ‘‘ β€” say hi to all of them:


and that's the whole page, bestie πŸ’œ this little cutie lives over at ./drivers/gpu/drm/panthor, stamped October 2026, and she answers to group_queue_work(9) β€” slay, go queue some work, periodt πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from