async_schedule_dev_nocall(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ async_schedule_dev_nocall(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” this is the page for async_schedule_dev_nocall, and it is literally the low-drama cousin of async_schedule_dev(). no cap. let's get into it πŸ’…


πŸŽ€ NAME πŸŽ€

async_schedule_dev_nocall β€” a simplified variant of async_schedule_dev(). that's it, that's the vibe check 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

bool async_schedule_dev_nocall (async_func_t func , struct device *dev );

like, it takes a func, it takes a dev, and it returns a bool. clean. iconic. no notes ✨


πŸ’– ARGUMENTS πŸ’–

  • func β€” the function to execute asynchronously. the main character of this whole operation, fr fr πŸ‘‘
  • dev β€” the device argument that gets passed to the function. yes, it's doing double duty, keep reading 🫢

πŸ”₯ DESCRIPTION πŸ”₯

so here's the tea: dev is used as both the argument for the function and to provide the NUMA context for where to run the function. one struct, two jobs, she's multitasking πŸ’…βœ¨

if the asynchronous execution of func is scheduled successfully, you get true back. slay. otherwise it does nothing and returns false β€” and this is the whole point, okay? unlike async_schedule_dev, which will run the function synchronously then, this one just... doesn't. no fallback, no backup plan, no plan B. it's giving "if it doesn't work out, I'm not doing it at all" energy πŸ’€

ngl, if you were expecting a synchronous fallback, you're on the wrong page bestie β€” that's the other function πŸ™ˆ

🌈 SEE ALSO 🌈

go be nosy in the kernel file ./kernel/async.c, and also check out these besties:


and that's the whole page, bestie πŸ“ this lil gem lives in ./kernel, from October 2026, and it's filed under async_schedule_dev_nocall(9) β€” go forth and schedule async, but like, only if it works the first time πŸ’œπŸ§šβ­

πŸ“¦ where this page comes from