sched_queue_delayed_work(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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

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