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)
commit3a51449b7959f68cc45abe67298e40c7eb57167b
treebd147ead9447bfcb03711261333e3a9f15c17dfc
parentd129479f1fff5c88adbf8dff7649664916d28f81
watchdog/softlockup: Remove obsolete check of last reported task

commit 9cf57731b63e ("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 b1a8de1f5343
("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