diff options
author | Waiman Long <longman@redhat.com> | 2021-12-06 04:38:15 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-02-02 02:35:43 +0100 |
commit | fc153c1c58cb8c3bb3b443b4d7dc3211ff5f65fc (patch) | |
tree | 6dc3ddbe5d71eca06a3cbe543518ec5e0732ce05 /kernel/time/Kconfig | |
parent | rcu-tasks: Fix computation of CPU-to-list shift counts (diff) | |
download | linux-fc153c1c58cb8c3bb3b443b4d7dc3211ff5f65fc.tar.xz linux-fc153c1c58cb8c3bb3b443b4d7dc3211ff5f65fc.zip |
clocksource: Add a Kconfig option for WATCHDOG_MAX_SKEW
A watchdog maximum skew of 100us may still be too small for
some systems or archs. It may also be too small when some kernel
debug config options are enabled. So add a new Kconfig option
CLOCKSOURCE_WATCHDOG_MAX_SKEW_US to allow kernel builders to have more
control on the threshold for marking clocksource as unstable.
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/time/Kconfig')
-rw-r--r-- | kernel/time/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig index 04bfd62f5e5c..27b7868b5c30 100644 --- a/kernel/time/Kconfig +++ b/kernel/time/Kconfig @@ -181,5 +181,14 @@ config HIGH_RES_TIMERS hardware is not capable then this option only increases the size of the kernel image. +config CLOCKSOURCE_WATCHDOG_MAX_SKEW_US + int "Clocksource watchdog maximum allowable skew (in μs)" + depends on CLOCKSOURCE_WATCHDOG + range 50 1000 + default 100 + help + Specify the maximum amount of allowable watchdog skew in + microseconds before reporting the clocksource to be unstable. + endmenu endif |