docs: sysctl: timer_migration is for hrtimer only
PATCH 1/1 docs: sysctl: timer_migration is for hrtimer only
Since commit b2cf7507e1864 ("timers: Always queue timers on the local CPU") __mod_timer() no longer depends on timers_migration_enabled. Only high-resolution timer migration from isolated to housekeeping CPUs depends on it.
Update and clarify the documentation accordingly.
--- Documentation/admin-guide/sysctl/kernel.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Documentation/admin-guide/sysctl/kernel.rst +4 -2
@@ -1609,8 +1609,10 @@ If a value outside of this range is written to ``threads-max`` an timer_migration =============== -When set to a non-zero value, attempt to migrate timers away from idle cpus to -allow them to remain in low power states longer. +When set to a non-zero value, attempt to migrate high-resolution timers from +nohz isolated (nohz_full) to housekeeping CPUs. +See Documentation/admin-guide/cpu-isolation.rst +and Documentation/admin-guide/kernel-parameters.rst. Default is set (1).
Signature · 1 line
2.55.0
On 26 August 2026 14:29:19 BST, Costa Shulyupin <[email protected]> wrote:
+ CC [email protected] (sysctl folk)
Quoted 21 lines
Since commit
b2cf7507e1864("timers: Always queue timers on the local CPU")__mod_timer()no longer depends ontimers_migration_enabled. Only high-resolution timer migration from isolated to housekeeping CPUs depends on it.Update and clarify the documentation accordingly.
Signed-off-by Costa Shulyupin <[email protected]>---
Documentation/admin-guide/sysctl/kernel.rst| 6 ++++--1 file changed, 4 insertions(+), 2 deletions(-)Documentation/admin-guide/sysctl/kernel.rst +0
-0@@ -1609,8 +1609,10 @@ If a value outside of this range is written to ``threads-max`` an
timer_migration
===============
Documentation/admin-guide/sysctl/kernel.rst If a value outside of this range is written to ``threads-max`` an · line 1615
Quoted 6 lines
Documentation/admin-guide/sysctl/kernel.rst +4
-2-When set to a non-zero value, attempt to migrate timers away from idle cpus to -allow them to remain in low power states longer. +When set to a non-zero value, attempt to migrate high-resolution timers from +nohz isolated (nohz_full) to housekeeping CPUs. +See Documentation/admin-guide/cpu-isolation.rst +and Documentation/admin-guide/kernel-parameters.rst.
Hmm, ok!
Quoted 3 lines
Default is set (1).
Quoted 17 lines · Costa Shulyupin
Since commit
b2cf7507e1864("timers: Always queue timers on the local CPU")__mod_timer()no longer depends ontimers_migration_enabled. Only high-resolution timer migration from isolated to housekeeping CPUs depends on it.Update and clarify the documentation accordingly.
Signed-off-by Costa Shulyupin <[email protected]>--- Documentation/admin-guide/sysctl/kernel.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)Documentation/admin-guide/sysctl/kernel.rst +0
-0
Documentation/admin-guide/sysctl/kernel.rst If a value outside of this range is written to ``threads-max`` an · line 1615
Quoted 9 lines
Documentation/admin-guide/sysctl/kernel.rst +4
-2@@ -1609,8 +1609,10 @@ If a value outside of this range is written to ``threads-max`` an timer_migration =============== -When set to a non-zero value, attempt to migrate timers away from idle cpus to -allow them to remain in low power states longer. +When set to a non-zero value, attempt to migrate high-resolution timers from +nohz isolated (nohz_full) to housekeeping CPUs. +See Documentation/admin-guide/cpu-isolation.rst +and Documentation/admin-guide/kernel-parameters.rst.
Applied, thanks.
jon