worker_enter_idle(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… worker_enter_idle(9) β€” your fave Kernel API Manual glow-up ✨

okay bestie, gather round 🫢 this one is short and sweet but she still has lore. Let’s get into it.

🌸 NAME 🌸

worker_enter_idle β€” enter idle state. That’s the whole vibe: the worker is sliding into idle mode πŸ’€.

✨ SYNOPSIS ✨

void worker_enter_idle (struct worker *worker );

πŸŽ€ ARGUMENTS πŸŽ€

  • worker β€” the worker that’s entering idle state. She’s the one sliding into idle rn πŸ‘‘.

πŸ¦‹ DESCRIPTION πŸ¦‹

So worker is entering idle state. We update the stats, and we update the idle timer if necessary. That’s it β€” no extra plot twists added, iykyk πŸ’….

πŸ”’ LOCKING: raw_spin_lock_irq(pool->lock).

🌈 SEE ALSO 🌈

Kernel file ./kernel/workqueue.c is the home base 🏑, and these are all in the group chat:


Cute sign-off: brought to you by ./kernel, October 2026 πŸ’–

πŸ“¦ where this page comes from