idle_inject_register_full(9)
β¨ NAME β¨
okay bestie, this is idle_inject_register_full(9) from the Kernel API Manual, and it's literally here to initialize idle injection on a set of CPUs. π
π
πΈ SYNOPSIS πΈ
struct idle_inject_device * idle_inject_register_full (struct cpumask
*cpumask , bool (*update)(void) );
π ARGUMENTS π
cpumaskβ the CPUs that are going to be affected by idle injection, periodt. π¦updateβ this callback is called just before waking up CPUs to inject idle. π
π¦ DESCRIPTION π¦
This function creates an idle injection control device structure for the given set of CPUs and initializes the timer associated with it. It also allows you to register updatecallback. π«Ά
heads up bestie: it does not start any injection cycles. not even one. π
π RETURN π
NULLif memory allocation fails. π- an idle injection control device pointer on success. π
π 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_should_run(9)idle_inject_register(9)idle_inject_unregister(9)
xoxo bestie, this iconic little page comes from source/version ./drivers/powercap, dated October 2026, and it's literally idle_inject_register_full(9). ππ
β¨
π¦ 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