]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
cpufreq: Documentation: fix conservative governor freq_step description
authorPengjie Zhang <zhangpengjie2@huawei.com>
Wed, 3 Jun 2026 05:56:35 +0000 (13:56 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 8 Jun 2026 13:32:19 +0000 (15:32 +0200)
The conservative governor documentation incorrectly states that setting
freq_step to 0 will use the default 5% frequency step. In reality, since
at least commit 8e677ce83bf4 ("[CPUFREQ] conservative: fixup governor to
function more like ondemand logic"), freq_step=0 has always caused the
governor to skip frequency updates entirely.

Correct the documentation to reflect the actual behavior: freq_step=0
disables frequency changes by the governor entirely.

Fixes: 2a0e49279850 ("cpufreq: User/admin documentation update and consolidation")
Signed-off-by: Pengjie Zhang <zhangpengjie2@huawei.com>
Reviewed-by: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>
[ rjw: Subject adjustment ]
Link: https://patch.msgid.link/20260603055635.1549943-1-zhangpengjie2@huawei.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/admin-guide/pm/cpufreq.rst

index fdca59c955dcc9dbb06b303f716711b10944c215..8831cface585529029a9b591fcaf71f1a70e5a12 100644 (file)
@@ -586,8 +586,8 @@ This governor exposes the following tunables:
        100 (5 by default).
 
        This is how much the frequency is allowed to change in one go.  Setting
-       it to 0 will cause the default frequency step (5 percent) to be used
-       and setting it to 100 effectively causes the governor to periodically
+       it to 0 disables frequency changes by the governor entirely and setting
+       it to 100 effectively causes the governor to periodically
        switch the frequency between the ``scaling_min_freq`` and
        ``scaling_max_freq`` policy limits.