sugov_iowait_reset(9)
π sugov_iowait_reset(9) β the Kernel API Manual, bestie edition π¦
okay so real talk, this is a page from the Kernel API Manual, and it's about sugov_iowait_reset β the little function that hits the reset button on a CPU's IO boost status. yes bestie, we're in scheduler-land today, hold my iced coffee π§
β¨ NAME β¨
sugov_iowait_reset β resets the IO boost status of a CPU. that's it. that's the whole job. icon behavior honestly π
πΈ SYNOPSIS πΈ
bool sugov_iowait_reset (struct sugov_cpu *sg_cpu , u64 time , bool
set_iowait_boost );
it returns a bool, it takes three things, and it is not here to play games π
π ARGUMENTS π
sg_cpuβ the sugov data for the CPU that's getting boosted. like, the whole vibe dossier for that CPU πtimeβ the update time, handed to us by whoever called us. thanks caller, very demure of you π«Άset_iowait_boostβtrueif an IO boost has actually been requested.false? then no boost was asked for, periodt β
π₯ DESCRIPTION π₯
okay so here's the tea β β the IO wait boost of a task gets disabled after a tick since the last update of a CPU. one tick, that's the window, that's the rule, no cap.
and if a new IO wait boost gets requested after more than a tick has passed? then we enable the boost starting from IOWAIT_BOOST_MIN π and the reason is genuinely so slay: it improves energy efficiency by ignoring sporadic wakeups from IO. lowkey brilliant, highkey saving your battery π
π«Ά reminder bestie: that's more than a tick for the "start from IOWAIT_BOOST_MIN" path β the wording matters, don't let anyone gaslight you into thinking otherwise.
π¦ SEE ALSO π¦
go read these next, i'm obsessed with them actually:
- Kernel file
./kernel/sched/cpufreq_schedutil.cπ get_capacity_ref_freq(9)get_next_freq(9)sugov_iowait_boost(9)sugov_iowait_apply(9)
the whole friend group, all linked up, iykyk β
and that's the page!! π brought to you by ./kernel/sched β dated October 2026 β and yes, sugov_iowait_reset(9) is literally the main character of this manual page, no notes ππ
π¦ 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