idle_inject_should_run(9)
π NAME π
idle_inject_should_run β function helper for the smpboot API. This page is idle_inject_should_run(9) from the Kernel API Manual, and yes bestie, we're about to make it make sense. π
β¨ SYNOPSIS β¨
int idle_inject_should_run (unsigned int cpu );
okay so that's the whole signature, no cap β one unsigned int called cpu, and an int coming back at you.
π ARGUMENTS π
cpuβ CPU the kthread is running on.
literally the whole argument, and she's just telling you which CPU the kthread is running on. π«Ά
π¦ RETURN π¦
It returns whether or not the thread can run.
that's the vibe check: whether or not the thread can run. πβ¨
π 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_stop(9), idle_inject_setup(9), idle_inject_register_full(9), idle_inject_register(9), idle_inject_unregister(9) β go read these too, bestie, they're all part of the same friend group. π«ΆπΈ
mwah π this cutie is idle_inject_should_run(9), sourced from ./drivers/powercap, dated October 2026 β and that's the whole group chat, periodt. π
π¦ 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