idle_inject_should_run(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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