Skip to content
Snippets Groups Projects
Commit a6572f84 authored by Li Zefan's avatar Li Zefan Committed by Ingo Molnar
Browse files

watchdog: Disallow setting watchdog_thresh to -1


In old kernels, it's allowed to set softlockup_thresh to -1 or 0
to disable softlockup detection. However watchdog_thresh only
uses 0 to disable detection, and setting it to -1 just froze my
box and nothing I can do but reboot.

Signed-off-by: default avatarLi Zefan <lizefan@huawei.com>
Acked-by: default avatarDon Zickus <dzickus@redhat.com>
Link: http://lkml.kernel.org/r/51959668.9040106@huawei.com


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 1b45adcd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment