watchdog-perf-rename-watchdog_hldc-to-watchdog_perfc.patch removed from -mm tree
The quilt patch titled
Subject: watchdog/perf: rename watchdog_hld.c to watchdog_perf.c
has been removed from the -mm tree. Its filename was
watchdog-perf-rename-watchdog_hldc-to-watchdog_perfc.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Douglas Anderson <[email protected]>
Subject: watchdog/perf: rename watchdog_hld.c to watchdog_perf.c
Date: Fri, 19 May 2023 10:18:31 -0700
The code currently in "watchdog_hld.c" is for detecting hardlockups using perf, as evidenced by the line in the Makefile that only compiles this file if CONFIG_HARDLOCKUP_DETECTOR_PERF is defined. Rename the file to prepare for the buddy hardlockup detector, which doesn't use perf.
It could be argued that the new name makes it less obvious that this is a hardlockup detector. While true, it's not hard to remember that the "perf" detector is always a hardlockup detector and it's nice not to have names that are too convoluted.
---
kernel/Makefile | 2 kernel/watchdog_hld.c | 302 --------------------------------------- kernel/watchdog_perf.c | 302 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 303 insertions(+), 303 deletions(-)
kernel/Makefile renamed from kernel/Makefile~watchdog-perf-rename-watchdog_hldc-to-watchdog_perfc +1 -1
@@ -91,7 +91,7 @@ obj-$(CONFIG_FAIL_FUNCTION) += fail_func obj-$(CONFIG_KGDB) += debug/ obj-$(CONFIG_DETECT_HUNG_TASK) += hung_task.o obj-$(CONFIG_LOCKUP_DETECTOR) += watchdog.o -obj-$(CONFIG_HARDLOCKUP_DETECTOR_PERF) += watchdog_hld.o +obj-$(CONFIG_HARDLOCKUP_DETECTOR_PERF) += watchdog_perf.o obj-$(CONFIG_SECCOMP) += seccomp.o obj-$(CONFIG_RELAY) += relay.o obj-$(CONFIG_SYSCTL) += utsname_sysctl.o
kernel/watchdog_hld.c deleted +0 -302
302 lines not on this page · raw message
kernel/watchdog_perf.c new file +302 -0
302 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are
watchdog-hardlockup-move-perf-hardlockup-checking-panic-to-common-watchdogc.patch watchdog-hardlockup-style-changes-to-watchdog_hardlockup_check-is_hardlockup.patch watchdog-hardlockup-add-a-cpu-param-to-watchdog_hardlockup_check.patch watchdog-hardlockup-move-perf-hardlockup-watchdog-petting-to-watchdogc.patch watchdog-hardlockup-rename-some-nmi-watchdog-constants-function.patch watchdog-hardlockup-have-the-perf-hardlockup-use-__weak-functions-more-cleanly.patch watchdog-hardlockup-detect-hard-lockups-using-secondary-buddy-cpus.patch watchdog-perf-add-a-weak-function-for-an-arch-to-detect-if-perf-can-use-nmis.patch arm64-enable-perf-events-based-hard-lockup-detector.patch