put_unbound_pool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

put_unbound_pool β€” put a worker_pool πŸ’… and yes bestie, this page is serving Kernel API Manual energy, iykyk 🫢

✨ SYNOPSIS ✨

void put_unbound_pool (struct worker_pool *pool );

πŸŽ€ ARGUMENTS πŸŽ€

  • pool β€” the worker_pool you're putting, bestie.

πŸ’– DESCRIPTION πŸ’–

Okay so: put pool. If its refcnt reaches zero, it gets destroyed in an RCU safe manner β€” periodt πŸ’€βœ¨. get_unbound_pool calls this function on its failure path, and this function should be able to release pools which went through, successfully or not, init_worker_pool. It's giving cleanup-that-handles-everything energy, fr fr 🧚

Vibe check: this should be called with wq_pool_mutex held πŸ”’πŸ˜­.

🌈 SEE ALSO 🌈

The whole workqueue extended universe, in the exact order it showed up β€” no skipping, no cap 🫢:


This cutie is from ./kernel, dated October 2026, and it's serving Kernel API Manual realness. Bye bestie πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from