sched_queue_delayed_work(9)
π sched_queue_delayed_work(9) β the Kernel API Manual moment
okay so this is sched_queue_delayed_work, and it lives in the Kernel API Manual. yes bestie, we're in kernel land, and this little function is lowkey iconic β¨
πΈ NAME
sched_queue_delayed_work β the one that queues up a scheduler delayed work π
β¨ SYNOPSIS
sched_queue_delayed_work (sched , wname , delay );
like, that's the whole thing. three things in, no drama π
π¦ ARGUMENTS
schedβ the scheduler object. literally the main character here πwnameβ the work name. it's givingβ¦ a name. for the work πdelayβ how long the work waits around, measured in jiffies β³ (yes, jiffies. that's the unit. no cap.)
π DESCRIPTION
so here's the vibe: it conditionally queues a scheduler delayed work β but ONLY if there's no reset pending or in-progress. π«π₯
read that again, bestie. conditionally. if a reset is pending/in-progress, this thing is not queueing anything. it's just standing there. respectfully. π
π₯ SEE ALSO
- the kernel file
./drivers/gpu/drm/panthor/panthor_sched.c 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)group_queue_work(9)sched_queue_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)
like, that's a whole friend group right there. go say hi π«Ά
ngl if you're here you're probably already deep in panthor land. hydrate, take breaks, and don't forget to actually read the reset state before you queue anything π
source: ./drivers/gpu/drm/panthor π date: October 2026 π¦
mwah, that's the page, ily, go read sched_queue_work(9) next bestie π
πβ¨
π¦ 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