Skip to content
Commit 3a51449b authored by Petr Mladek's avatar Petr Mladek Committed by Thomas Gleixner
Browse files

watchdog/softlockup: Remove obsolete check of last reported task



commit 9cf57731 ("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 b1a8de1f
("softlockup: make detector be aware of task switch of processes hogging
cpu")

Signed-off-by: default avatarPetr Mladek <pmladek@suse.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Acked-by: default avatarPeter Ziljstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20191024114928.15377-2-pmladek@suse.com
parent d129479f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment