idle_inject_stop(9)
πΈ NAME πΈ
okay so bestie, welcome to the idle_inject_stop(9) page from the Kernel API Manual π
β this function is literally called idle_inject_stop and it stops idle injections, periodt. No cap.
β¨ SYNOPSIS β¨
void idle_inject_stop (struct idle_inject_device *ii_dev );
π ARGUMENTS π
ii_devβ the idle injection control device structure, aka the struct you hand over so it can do its stop-the-idle-injections thing. It's giving "control device structure" energy π«Ά.
π¦ DESCRIPTION π¦
okay so here's the tea: idle_inject_stop stops idle injection and waits for the threads to finish work. If CPU idle time is being injected when this function runs, then it will wait until the end of the cycle. Like, it's not gonna ghost mid-cycle β it waits for the cycle to wrap up, fr fr.
When it returns, there is no more idle injection kthread activity. The kthreads are scheduled out and the periodic timer is off. Literally all the idle injection kthread activity is gone, the kthreads are scheduled out, and the periodic timer is off β vibe check passed β .
π SEE ALSO π
- Kernel file
./drivers/powercap/idle_inject.c struct idle_inject_thread(9)struct idle_inject_device(9)idle_inject_wakeup(9)idle_inject_timer_fn(9)idle_inject_fn(9)idle_inject_set_duration(9)idle_inject_get_duration(9)idle_inject_set_latency(9)idle_inject_start(9)idle_inject_setup(9)idle_inject_should_run(9)idle_inject_register_full(9)idle_inject_register(9)idle_inject_unregister(9)
That's the whole page, bestie π«Ά. Source/version vibes: ./drivers/powercap, dated October 2026, and this is the idle_inject_stop(9) page β slay and stay idle-injection-free β¨.
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms