unbound_effective_cpumask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… unbound_effective_cpumask πŸ’…

okay so bestie, welcome to the unbound_effective_cpumask(9) page β€” it's a kernel API manual situation, and honestly? it's short, it's sweet, and it ate. let's get into it ✨


🌸 NAME 🌸

unbound_effective_cpumask β€” the effective cpumask of an unbound workqueue, which is literally the whole point of this function πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct cpumask * unbound_effective_cpumask (struct workqueue_struct *wq
);

like yes, that's the whole signature, she's not doing too much πŸ’…


πŸ’– ARGUMENTS πŸ’–

  • wq β€” the workqueue of interest 🫢 that's it, that's the argument. it's the workqueue you're curious about, the main character of this call.

✨ DESCRIPTION ✨

okay so here's the tea, and it's giving internals πŸ“:

wq->attrs->cpumask holds the cpumask that the user requested. that requested one gets masked with wq_unbound_cpumask to determine the effective cpumask. iykyk.

and the default pwq? she's always mapped to the pool with the current effective cpumask. no cap, that's just how it is πŸ’€βœ¨

ngl this one is tiny but she matters β€” if you're poking at workqueue cpumasks, this is the function that tells you what's actually in effect versus what somebody asked for πŸ‘‘

🌈 SEE ALSO 🌈

bestie. buckle up. this list is enormous and we are NOT skipping a single one of these πŸ«‘πŸ’–

the kernel file here is ./kernel/workqueue.c, and then we've got:

like… that's the whole workqueue extended universe right there, and we love her for it πŸ§šπŸ’œ


πŸŽ€ sign-off πŸŽ€

this little icon comes from ./kernel, October 2026, and she's filed under the unbound_effective_cpumask(9) name in the Kernel API Manual. slay, go read your cpumasks, periodt πŸ‘‘βœ¨

πŸ“¦ where this page comes from