async_schedule_node_domain(9)
π async_schedule_node_domain(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's a little page about async_schedule_node_domain, and it's literally the NUMA specific version of async_schedule_domain. iykyk π§
β¨ NAME β¨
async_schedule_node_domain β the NUMA specific version of async_schedule_domain. that's it, that's the whole name section π
πΈ SYNOPSIS πΈ
async_cookie_t async_schedule_node_domain (async_func_t func , void
*data , int node , struct async_domain *domain );
like, yeah, that's the signature, copy it into your notes and slay π
π¦ ARGUMENTS π¦
funcβ the function you want to execute asynchronously. the main character of this whole operation πdataβ a data pointer that gets passed to that function. it's giving "here's your stuff, go do the thing" π«Άnodeβ the NUMA node you want this work scheduled on, or close to. best-effort vibes, more on that below πdomainβ the domain. yes bestie, that's genuinely all it says. it's the domain π
π DESCRIPTION π
So this returns an async_cookie_t β¨ and you can hang onto it and use it for checkpointing later β very "save your spot in the group chat" energy ngl.
And domain?? that's the good part π
you can pass it into the async_synchronize_*_domain functions so you can wait within a certain synchronization domain instead of waiting globally. like only syncing with your own little friend group instead of the entire server. obsessed ππ₯
π NOTE π
- This function may be called from atomic or non-atomic contexts. flexible icon behavior, we love to see it πΈ
- The
nodeyou request will be honored on a best effort basis β no promises, bestie π - If that node has no CPUs associated with it, then the work gets distributed among all available CPUs instead. the work will find a home fr fr π
π SEE ALSO π
- Kernel file
./kernel/async.c async_schedule_node(9)async_schedule_dev_nocall(9)async_synchronize_full(9)async_synchronize_full_domain(9)async_synchronize_cookie_domain(9)async_synchronize_cookie(9)current_is_async(9)
okay that's the whole page, go be async and unbothered π this cutie came out of ./kernel, it's the October 2026 edition, and it will forever answer to the name async_schedule_node_domain(9) π bye bestie, mwah π
π¦ 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