group_queue_work(9)
π 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:
Scheduler(9)struct panthor_csg_slot(9)enum panthor_csg_priority(9)struct panthor_scheduler(9)struct panthor_syncobj_32b(9)struct panthor_syncobj_64b(9)struct panthor_queue(9)enum panthor_group_state(9)struct panthor_group(9)sched_queue_work(9)sched_queue_delayed_work(9)struct panthor_group_pool(9)struct panthor_job(9)group_bind_locked(9)group_unbind_locked(9)cs_slot_prog_locked(9)cs_slot_reset_locked(9)csg_slot_sync_priority_locked(9)cs_slot_sync_queue_state_locked(9)sched_process_global_irq_locked(9)panthor_sched_report_fw_events(9)panthor_sched_report_mmu_fault(9)panthor_fdinfo_gather_group_mem_info(9)
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
- 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