schedule_work_on(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ schedule_work_on β€” the kernel workqueue API manual, bestie edition ✨

okay so real talk, this page is from the Kernel API Manual, section 9, and it's about schedule_work_on. it's short, it's sweet, and it's gonna make your work land exactly where you want it πŸ’…


🌸 NAME 🌸

schedule_work_on β€” put work task on a specific cpu

like, you have a job. you have a cpu. you want the job on that cpu. that's the whole vibe.


πŸŽ€ SYNOPSIS πŸŽ€

bool schedule_work_on (int cpu , struct work_struct *work );

yes the spacing is exactly like that, don't come for me, that's just how it's printed 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cpu β€” cpu to put the work task on. that's it, that's the whole thing, you pick the cpu, the cpu gets the work ✨
  • work β€” job to be done. the actual thing you want done. the main character of the operation πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

This puts a job on a specific cpu.

literally that's what it says, and honestly? iconic. no fluff, no drama, no seventeen-paragraph backstory β€” you hand it a job, you hand it a cpu, it puts the job on that cpu. periodt πŸ”₯

ngl, this one's a "the name tells you everything" situation. schedule_work_on β€” you're scheduling work on something. the something is the cpu. no cap πŸ’€

🌈 SEE ALSO 🌈

go read these next, bestie, they're the whole friend group 🧚:


and that's the page!! 🌸 star ⭐ moment for the source path ./include/linux, dated October 2026, and yeah β€” this whole read was schedule_work_on(9) from the Kernel API Manual. go put your work on a cpu, bestie, you got this πŸ’œπŸ¦‹πŸŽ€

πŸ“¦ where this page comes from