lkml.org 
[lkml]   [2013]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 8/8] watchdog: Remove hack to make full dynticks working
    Date
    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.

    Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Ingo Molnar <mingo@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>
    ---
    kernel/watchdog.c | 8 --------
    1 files changed, 0 insertions(+), 8 deletions(-)

    diff --git a/kernel/watchdog.c b/kernel/watchdog.c
    index 1241d8c..51c4f34 100644
    --- a/kernel/watchdog.c
    +++ b/kernel/watchdog.c
    @@ -553,14 +553,6 @@ void __init lockup_detector_init(void)
    {
    set_sample_period();

    -#ifdef CONFIG_NO_HZ_FULL
    - if (watchdog_user_enabled) {
    - watchdog_user_enabled = 0;
    - pr_warning("Disabled lockup detectors by default for full dynticks\n");
    - pr_warning("You can reactivate it with 'sysctl -w kernel.watchdog=1'\n");
    - }
    -#endif
    -
    if (watchdog_user_enabled)
    watchdog_enable_all_cpus();
    }
    --
    1.7.5.4


    \
     
     \ /
      Last update: 2013-07-23 03:21    [W:4.419 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site