diff options
Diffstat (limited to 'Documentation/lockup-watchdogs.txt')
-rw-r--r-- | Documentation/lockup-watchdogs.txt | 18 |
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 | |||
61 | administrators to configure the period of the hrtimer and the perf | 61 | administrators to configure the period of the hrtimer and the perf |
62 | event. The right value for a particular environment is a trade-off | 62 | event. The right value for a particular environment is a trade-off |
63 | between fast response to lockups and detection overhead. | 63 | between fast response to lockups and detection overhead. |
64 | |||
65 | By default, the watchdog runs on all online cores. However, on a | ||
66 | kernel configured with NO_HZ_FULL, by default the watchdog runs only | ||
67 | on the housekeeping cores, not the cores specified in the "nohz_full" | ||
68 | boot argument. If we allowed the watchdog to run by default on | ||
69 | the "nohz_full" cores, we would have to run timer ticks to activate | ||
70 | the scheduler, which would prevent the "nohz_full" functionality | ||
71 | from protecting the user code on those cores from the kernel. | ||
72 | Of course, disabling it by default on the nohz_full cores means that | ||
73 | when those cores do enter the kernel, by default we will not be | ||
74 | able to detect if they lock up. However, allowing the watchdog | ||
75 | to continue to run on the housekeeping (non-tickless) cores means | ||
76 | that we will continue to detect lockups properly on those cores. | ||
77 | |||
78 | In either case, the set of cores excluded from running the watchdog | ||
79 | may be adjusted via the kernel.watchdog_cpumask sysctl. For | ||
80 | nohz_full cores, this may be useful for debugging a case where the | ||
81 | kernel seems to be hanging on the nohz_full cores. | ||