schedule_delayed_work_on(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… schedule_delayed_work_on(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this little page is all about schedule_delayed_work_on, and honestly? she's that girl. ✨


🌸 NAME 🌸

schedule_delayed_work_on β€” queue work in per-CPU workqueue on CPU after delay

like, you hand her a job, a CPU, and a lil wait time, and she delivers. no cap. 🫢


✨ SYNOPSIS ✨

bool schedule_delayed_work_on (int cpu , struct delayed_work *dwork ,
unsigned long delay );

look at her. iconic signature. returns a bool and everything. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • cpu β€” cpu to use πŸ‘‘ (yes, that cpu, the one you picked, main character energy fr fr)
  • dwork β€” job to be done πŸ’– (the actual work, the whole point, the moment)
  • delay β€” number of jiffies to wait 🌸 (jiffies!! not seconds!! don't come for me, that's just how the kernel counts time)

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: after waiting for a given time, this puts a job in the system per-CPU workqueue on the specified CPU. that's it. that's the whole thing. she waits, then she works. ⭐

lowkey obsessed with how simple that is. no drama, no extra steps, just wait β†’ queue β†’ slay. πŸ”₯


🌈 SEE ALSO 🌈

the whole friend group fr. go read them, iykyk πŸ’œ


and that's the page!! courtesy of ./include/linux, dated October 2026, page schedule_delayed_work_on(9) β€” mwah, go queue something cute bestie πŸ§šπŸ’–

πŸ“¦ where this page comes from