mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
26 lines
975 B
Diff
26 lines
975 B
Diff
From 5cac0c3c4383010f0579028de8decd6ede4bd460 Mon Sep 17 00:00:00 2001
|
|
From: Stefan Springer <stefanspr94@gmail.com>
|
|
Date: Sun, 3 Oct 2021 23:26:40 +0200
|
|
Subject: [PATCH] clocksource: set WATCHDOG_MAX_SKEW to 60
|
|
|
|
in order to find a more relaxed middleground between the old default (100) and the new one(50)
|
|
---
|
|
kernel/time/clocksource.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
|
|
index b8a14d2fb..f8f848d13 100644
|
|
--- a/kernel/time/clocksource.c
|
|
+++ b/kernel/time/clocksource.c
|
|
@@ -107,7 +107,7 @@ static u64 suspend_start;
|
|
* This delay could be due to SMIs, NMIs, or to VCPU preemptions. Used as
|
|
* a lower bound for cs->uncertainty_margin values when registering clocks.
|
|
*/
|
|
-#define WATCHDOG_MAX_SKEW (50 * NSEC_PER_USEC)
|
|
+#define WATCHDOG_MAX_SKEW (80 * NSEC_PER_USEC)
|
|
|
|
#ifdef CONFIG_CLOCKSOURCE_WATCHDOG
|
|
static void clocksource_watchdog_work(struct work_struct *work);
|
|
--
|
|
2.32.0
|
|
|