diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2013-07-22 20:31:06 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-07-30 16:29:15 -0400 |
commit | 93786a5f6aeb9c032c1c240246c5aabcf457b38f (patch) | |
tree | 53699d7e0314a5c5e4acea146787a67d410a7a21 /kernel/watchdog.c | |
parent | d84153d6c96f61aa06429586284639f32debf03e (diff) |
watchdog: Make it work under full dynticks
A perf event can be used without forcing the tick to
stay alive if it doesn't use a frequency but a sample
period and if it doesn't throttle (raise storm of events).
Since the lockup detector neither use a perf event frequency
nor should ever throttle due to its high period, it can now
run concurrently with the full dynticks feature.
So remove the hack that disabled the watchdog.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Anish Singh <anish198519851985@gmail.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1374539466-4799-9-git-send-email-fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/watchdog.c')
-rw-r--r-- | kernel/watchdog.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/watchdog.c b/kernel/watchdog.c index 1241d8c91d5e..51c4f34d258e 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c | |||
@@ -553,14 +553,6 @@ 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 | |||
564 | if (watchdog_user_enabled) | 556 | if (watchdog_user_enabled) |
565 | watchdog_enable_all_cpus(); | 557 | watchdog_enable_all_cpus(); |
566 | } | 558 | } |