workqueue_set_min_active(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… workqueue_set_min_active(9) β€” Kernel API Manual energy ✨

Hey bestie πŸ’– you're looking at workqueue_set_min_active(9) from the Kernel API Manual. Manual name folded in, vibe check passed, let's get into the workqueue lore. πŸ¦‹


🌸 NAME 🌸

workqueue_set_min_active β€” adjust min_active of an unbound workqueue. That's the name, no cap. πŸ’…


✨ SYNOPSIS ✨

Literally this, bestie:

void workqueue_set_min_active (struct workqueue_struct *wq , int
       min_active );

πŸŽ€ ARGUMENTS πŸŽ€

  • wq β€” target unbound workqueue. She's the one getting her min_active adjusted. 🫢
  • min_active β€” new min_active value. The fresh number, periodt. ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

Set min_active of an unbound workqueue. Important vibe: unlike other types of workqueues, an unbound workqueue is not guaranteed to be able to process max_active interdependent work items. Instead, an unbound workqueue is guaranteed to be able to process min_active number of interdependent work items, which is WQ_DFL_MIN_ACTIVE by default. 🌈

Use this function to adjust the min_active value between 0 and the current max_active. That's the whole assignment, bestie β€” range-coded, not extra. πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./kernel/workqueue.c β€” and the whole friend group is here:


Kernel source/version: ./kernel Β· date: October 2026 Β· page: workqueue_set_min_active(9) β€” bye bestie, go be iconic with your workqueue βœ¨πŸ«ΆπŸ’…

πŸ“¦ where this page comes from