put_pwq_unlocked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… put_pwq_unlocked β€” the Kernel API Manual girlies' edition πŸŽ€

okay so this one lives in the Kernel API Manual and honestly? it's a tiny little icon and we stan a short function. let's get into it ✨


✨ NAME ✨

put_pwq_unlocked β€” it's put_pwq() but with the pool lock/unlock wrapped around it, like a little security blanket 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

void put_pwq_unlocked (struct pool_workqueue *pwq );

🌸 ARGUMENTS 🌸

  • pwq β€” the pool_workqueue you're putting. it can be NULL bestie, no cap, that's literally allowed πŸ’…

πŸ’– DESCRIPTION πŸ’–

so it's put_pwq with locking. that's the whole vibe. it also lets you pass a NULL pwq and it will simply not be dramatic about it πŸ’€

like, the function is doing the lock/unlock for you so you don't have to think about it, which is honestly main character energy of it. periodt ✨


🌈 SEE ALSO 🌈

the kernel file is ./kernel/workqueue.c and it's giving lore drop β€” here's the whole friend group 🫢

like, that's the whole group chat and every single one of them ate πŸ”₯ iykyk


and that's the page bestie πŸ’œ this one came straight out of ./kernel, dated October 2026 β€” so yeah, she's fresh, she's locked and unlocked simultaneously, she's put_pwq_unlocked(9). mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from