bind_previous_governor(9)
π bind_previous_governor(9) β the "oops bestie, put it back" era
okay so like, quick vibe check: this is a page from the Kernel API Manual (manual section 9, the kernel-flavoured one π§), and it's about thermal zones and governors and honestly it's giving "undo button energy." Let's get into it β¨
π NAME π
bind_previous_governor β bind the previous governor of the thermal zone π
like, you had a governor, it did its job, a new one showed up and fumbled, so we're re-binding the old one. no cap.
β¨ SYNOPSIS β¨
void bind_previous_governor (struct thermal_zone_device *tz , const char
*failed_gov_name );
so it's a void function, meaning it returns nothing at all, literally nothing, it just does the thing and dips π
πΈ ARGUMENTS πΈ
tzβ a valid pointer to astruct thermal_zone_deviceπ«Ά (key word: valid β don't be out here passing nonsense, this is the thermal zone we're talking about, she's the main character)failed_gov_nameβ the name of the governor that failed to register ππ like the name tag of the new governor who just didn't make the cut
π¦ DESCRIPTION π¦
okay so here's the tea β: this function registers the previous governor of the thermal zone after a new governor has failed to be bound. periodt.
that's it. that's the whole plot. the new governor fumbled, so we're putting the old one back on the throne π it's giving "we tried something new and it did not slay, so we're reverting."
π SEE ALSO π
y'all should also check out the kernel file ./drivers/thermal/thermal_core.c (that's where the magic lives, iykyk) plus all these other iconic functions:
thermal_set_governor(9)thermal_bind_cdev_to_trip(9)thermal_unbind_cdev_from_trip(9)thermal_cooling_device_register(9)devm_thermal_cooling_device_register(9)thermal_cooling_device_update(9)thermal_cooling_device_unregister(9)thermal_zone_device_register_with_trips(9)thermal_zone_device_unregister(9)thermal_zone_get_zone_by_name(9)
go read them. or don't. but like, they're right there π
and that's the whole page bestie!! π this one came straight out of ./drivers/thermal, dated October 2026, and it lives in the Kernel API Manual as bind_previous_governor(9) β mwah, love that for us πβ¨
π¦ 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