diff options
author | Petr Mladek <pmladek@suse.com> | 2019-10-24 13:49:26 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-01-16 14:52:48 +0100 |
commit | 3a51449b7959f68cc45abe67298e40c7eb57167b (patch) | |
tree | bd147ead9447bfcb03711261333e3a9f15c17dfc /security/apparmor/task.c | |
parent | d129479f1fff5c88adbf8dff7649664916d28f81 (diff) | |
download | linux-stable-3a51449b7959f68cc45abe67298e40c7eb57167b.tar.gz linux-stable-3a51449b7959f68cc45abe67298e40c7eb57167b.tar.bz2 linux-stable-3a51449b7959f68cc45abe67298e40c7eb57167b.zip |
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
Diffstat (limited to 'security/apparmor/task.c')
0 files changed, 0 insertions, 0 deletions