Skip to content

watchdog: parameters to control hard and soft lockup detector individually

Ulrich Obergfell lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 0 repliesNew
  2. v11 patch 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9watchdog: new definitions and variables, initializationinclude/linux/nmi.h kernel/watchdog.c+28 -10 replies
2/9watchdog: introduce the proc_watchdog_update() functionkernel/watchdog.c+23 -00 replies
3/9watchdog: move definition of 'watchdog_proc_mutex' outside of proc_dowatchdog()kernel/watchdog.c+2 -10 replies
4/9watchdog: introduce the proc_watchdog_common() functionkernel/watchdog.c+65 -00 replies
5/9watchdog: introduce separate handlers for parameters in /proc/sys/kernelinclude/linux/nmi.h kernel/watchdog.c+67 -00 replies
6/9watchdog: implement error handling for failure to set up hardware perf eventskernel/watchdog.c+18 -00 replies
7/9watchdog: enable the new user interface of the watchdog mechanisminclude/linux/nmi.h kernel/sysctl.c kernel/watchdog.c+40 -780 replies
8/9watchdog: clean up some function names and argumentskernel/watchdog.c+12 -80 replies
9/9watchdog: introduce the hardlockup_detector_disable() functionarch/x86/kernel/kvm.c include/linux/nmi.h kernel/watchdog.c+5 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/9] watchdog: parameters to control hard and soft lockup detector individually

This post follows up to https://lkml.org/lkml/2014/8/11/329.
During the discussion of that patch, Ingo Molnar commented in
https://lkml.org/lkml/2014/8/18/577.

"The softlockup and hardlockup detection control variables
should be in separate flags, inside and outside the kernel - they (should) not relate to each other."

Please refer to [PATCH v2 7/9] for a description of the proposed changes of the 'user interface' in /proc/sys/kernel and kernel command line parameters.

There are no functional changes between the initial version in
https://lkml.org/lkml/2014/10/13/313 and v2. The new version is merely a re-base to the following upstream commits.

commit 6e7458a6f074c71e74cda31c483114e65ea0f570

Author: Ulrich Obergfell <[email protected]>
Date:   Mon Oct 13 15:55:35 2014 -0700

kernel/watchdog.c: control hard lockup detection default

commit 9919e39a17381058dd0cdef2f78dbf5619e26474

Author: Ulrich Obergfell <[email protected]>
Date:   Mon Oct 13 15:55:37 2014 -0700

kvm: ensure hard lockup detection is disabled by default

Ulrich Obergfell (9):
watchdog: new definitions and variables, initialization
watchdog: introduce the proc_watchdog_update() function
watchdog: move definition of 'watchdog_proc_mutex' outside of
proc_dowatchdog()
watchdog: introduce the proc_watchdog_common() function
watchdog: introduce separate handlers for parameters in
/proc/sys/kernel
watchdog: implement error handling for failure to set up hardware
perf events
watchdog: enable the new user interface of the watchdog mechanism
watchdog: clean up some function names and arguments
watchdog: introduce the hardlockup_detector_disable() function

 arch/x86/kernel/kvm.c |   2 +-
 include/linux/nmi.h   |  21 ++--
 kernel/sysctl.c       |  35 +++++--
 kernel/watchdog.c     | 277 ++++++++++++++++++++++++++++++++++++--------------
 4 files changed, 240 insertions(+), 95 deletions(-)
Signature · 1 line
1.7.11.7