idle_inject_start(9)
okay so bestie, this is idle_inject_start(9) from the Kernel API Manual β a little powercap function that gets your idle injection party started π
β¨
π NAME π
idle_inject_start β start idle injections π
πΈ SYNOPSIS πΈ
int idle_inject_start (struct idle_inject_device *ii_dev );
π¦ ARGUMENTS π¦
ii_devβ the idle injection control device structure. literally the device struct this function is working with π«Ά
π DESCRIPTION π
The function starts idle injection by first waking up all of the idle injection kthreads associated with ii_dev to let them inject CPU idle time. It sets up a timer to start the next idle injection period β°β¨
π₯ RETURN π₯
-EINVALβ if the CPU idle or CPU run time is not set π0β on success, slay π
π SEE ALSO π
Kernel file: ./drivers/powercap/idle_inject.c β yes bestie, that's where the source lives π
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_stop(9)idle_inject_setup(9)idle_inject_should_run(9)idle_inject_register_full(9)idle_inject_register(9)idle_inject_unregister(9)
π and that's the whole vibe! brought to you by the page source/version ./drivers/powercap, dated October 2026, and of course idle_inject_start(9) β mwah πβ¨ 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