Re: [PATCH 4/5] watchdog: control hard lockup detection default

From: Ingo Molnar
Date: Mon Aug 18 2014 - 05:12:48 EST



* Don Zickus <dzickus@xxxxxxxxxx> wrote:

> From: Ulrich Obergfell <uobergfe@xxxxxxxxxx>
>
> In some cases we don't want hard lockup detection enabled by default.
> An example is when running as a guest. Introduce
>
> watchdog_enable_hardlockup_detector(bool)

So, the name watchdog_enable_hardlockup_detector_enable(false)
is both too long and also really confusing (because first it
suggests enablement, then disables it), so I renamed it to
hardlockup_detector_set(), which allows two natural variants:

hardlockup_detector_set(false);
...
hardlockup_detector_set(true);

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/