Skip to content

lockup detector changes

Don Zickus lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 17 repliesIn review

V2 from the cover letter

reworked patch 2 to not change the touch_softlockup_watchdog api but instead do some cleanups here and there. This caused patches 7 and 8 to be changed a bit to handle the new differences.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8combine nmi_watchdog and softlockupDocumentation/kernel-parameters.txt arch/x86/include/asm/nmi.h arch/x86/kernel/apic/Makefile +9 more+635 -292 replies
2/8touch_softlockup cleanups and softlockup_tick removalinclude/linux/sched.h kernel/sysctl.c kernel/timer.c +1 more+6 -5510 replies
3/8remove old softlockup codekernel/softlockup.c kernel/sysctl.c+10 -2901 reply
4/8remove nmi_watchdog.c filekernel/nmi_watchdog.c+0 -2591 reply
5/8watchdog: move trigger_all_cpu_backtrace to its own die_notifierarch/x86/kernel/apic/hw_nmi.c+51 -141 reply
6/8watchdog: cleanup hw_nmi.c cruftarch/x86/kernel/apic/hw_nmi.c+0 -581 reply
7/8resolve softlockup.c conflictsinclude/linux/sched.h kernel/kgdb.c kernel/watchdog.c+23 -40 replies
8/8separate touch_nmi_watchdog code path from touch_watchdogkernel/watchdog.c+4 -31 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/8] lockup detector changes

This patch series covers mostly the changes necessary for combining the nmi_watchdog and softlockup code. Also added are the cleanups associated with the change, like removing the old files.

The changelogs in each patch are more specific to what the changes are.

V2:
reworked patch 2 to not change the touch_softlockup_watchdog api but instead do some cleanups here and there. This caused patches 7 and 8 to be changed a bit to handle the new differences.

Don Zickus (8):
[watchdog] combine nmi_watchdog and softlockup
[nmi watchdog] touch_softlockup cleanups and softlockup_tick removal [watchdog] remove old softlockup code
[watchdog] remove nmi_watchdog.c file
[x86] watchdog: move trigger_all_cpu_backtrace to its own die_notifier [x86] watchdog: cleanup hw_nmi.c cruft
[watchdog] resolve softlockup.c conflicts
[watchdog] separate touch_nmi_watchdog code path from touch_watchdog

 Documentation/kernel-parameters.txt |    2 +
 arch/x86/include/asm/nmi.h          |    2 +-
 arch/x86/kernel/apic/Makefile       |    4 +-
 arch/x86/kernel/apic/hw_nmi.c       |  119 +++-----
 arch/x86/kernel/traps.c             |    4 +-
 include/linux/nmi.h                 |    8 +-
 include/linux/sched.h               |   14 +-
 init/Kconfig                        |    5 +-
 kernel/Makefile                     |    3 +-
 kernel/kgdb.c                       |    6 +-
 kernel/nmi_watchdog.c               |  259 ----------------
 kernel/softlockup.c                 |  278 -----------------
 kernel/sysctl.c                     |   52 ++--
 kernel/timer.c                      |    1 -
 kernel/watchdog.c                   |  564 +++++++++++++++++++++++++++++++++++
 lib/Kconfig.debug                   |   30 ++-
 16 files changed, 684 insertions(+), 667 deletions(-)
 delete mode 100644 kernel/nmi_watchdog.c
 delete mode 100644 kernel/softlockup.c
 create mode 100644 kernel/watchdog.c