diff options
| -rw-r--r-- | kernel/watchdog.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/watchdog.c b/kernel/watchdog.c index 51c4f34d258e..1241d8c91d5e 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c | |||
| @@ -553,6 +553,14 @@ void __init lockup_detector_init(void) | |||
| 553 | { | 553 | { |
| 554 | set_sample_period(); | 554 | set_sample_period(); |
| 555 | 555 | ||
| 556 | #ifdef CONFIG_NO_HZ_FULL | ||
| 557 | if (watchdog_user_enabled) { | ||
| 558 | watchdog_user_enabled = 0; | ||
| 559 | pr_warning("Disabled lockup detectors by default for full dynticks\n"); | ||
| 560 | pr_warning("You can reactivate it with 'sysctl -w kernel.watchdog=1'\n"); | ||
| 561 | } | ||
| 562 | #endif | ||
| 563 | |||
| 556 | if (watchdog_user_enabled) | 564 | if (watchdog_user_enabled) |
| 557 | watchdog_enable_all_cpus(); | 565 | watchdog_enable_all_cpus(); |
| 558 | } | 566 | } |
