summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorUlrich Obergfell2015-11-06 03:44:39 +0100
committerLinus Torvalds2015-11-06 04:34:48 +0100
commitee7fed540563b27e1028bec0b509921496c91bf9 (patch)
treed58ef0a0559d3b99c321b7f3f7454fe0e7c7fce5 /kernel/sysctl.c
parentwatchdog: implement error handling in lockup_detector_suspend() (diff)
downloadkernel-qcow2-linux-ee7fed540563b27e1028bec0b509921496c91bf9.tar.gz
kernel-qcow2-linux-ee7fed540563b27e1028bec0b509921496c91bf9.tar.xz
kernel-qcow2-linux-ee7fed540563b27e1028bec0b509921496c91bf9.zip
watchdog: do not unpark threads in watchdog_park_threads() on error
If kthread_park() returns an error, watchdog_park_threads() should not blindly 'roll back' the already parked threads to the unparked state. Instead leave it up to the callers to handle such errors appropriately in their context. For example, it is redundant to unpark the threads if the lockup detectors will soon be disabled by the callers anyway. Signed-off-by: Ulrich Obergfell <uobergfe@redhat.com> Reviewed-by: Aaron Tomlin <atomlin@redhat.com> Acked-by: Don Zickus <dzickus@redhat.com> Cc: Ulrich Obergfell <uobergfe@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions