]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog/softlockup: Remove obsolete check of last reported task
authorPetr Mladek <pmladek@suse.com>
Thu, 24 Oct 2019 11:49:26 +0000 (13:49 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Jan 2020 13:52:48 +0000 (14:52 +0100)
commit5e49a3a9edc7b2bf8d3f310dfab08140ab15339c
treebd147ead9447bfcb03711261333e3a9f15c17dfc
parent04bdbe6b44ba77dd069482de3e31dc4824e04427
watchdog/softlockup: Remove obsolete check of last reported task

commit a6b7649c405a ("watchdog/softlockup: Replace "watchdog/%u" threads
 with cpu_stop_work") ensures that the watchdog is reliably touched during
a task switch.

As a result the check for an unnoticed task switch is not longer needed.

Remove the relevant code, which effectively reverts commit 30bc9096783f
("softlockup: make detector be aware of task switch of processes hogging
cpu")

Signed-off-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Ziljstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20191024114928.15377-2-pmladek@suse.com
kernel/watchdog.c