summaryrefslogtreecommitdiffstats
path: root/Documentation/lockup-watchdogs.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/lockup-watchdogs.txt')
-rw-r--r--Documentation/lockup-watchdogs.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/lockup-watchdogs.txt b/Documentation/lockup-watchdogs.txt
index ab0baa692c13..22dd6af2e4bd 100644
--- a/Documentation/lockup-watchdogs.txt
+++ b/Documentation/lockup-watchdogs.txt
@@ -61,3 +61,21 @@ As explained above, a kernel knob is provided that allows
61administrators to configure the period of the hrtimer and the perf 61administrators to configure the period of the hrtimer and the perf
62event. The right value for a particular environment is a trade-off 62event. The right value for a particular environment is a trade-off
63between fast response to lockups and detection overhead. 63between fast response to lockups and detection overhead.
64
65By default, the watchdog runs on all online cores. However, on a
66kernel configured with NO_HZ_FULL, by default the watchdog runs only
67on the housekeeping cores, not the cores specified in the "nohz_full"
68boot argument. If we allowed the watchdog to run by default on
69the "nohz_full" cores, we would have to run timer ticks to activate
70the scheduler, which would prevent the "nohz_full" functionality
71from protecting the user code on those cores from the kernel.
72Of course, disabling it by default on the nohz_full cores means that
73when those cores do enter the kernel, by default we will not be
74able to detect if they lock up. However, allowing the watchdog
75to continue to run on the housekeeping (non-tickless) cores means
76that we will continue to detect lockups properly on those cores.
77
78In either case, the set of cores excluded from running the watchdog
79may be adjusted via the kernel.watchdog_cpumask sysctl. For
80nohz_full cores, this may be useful for debugging a case where the
81kernel seems to be hanging on the nohz_full cores.