aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/hung_task.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-27 10:03:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-27 10:03:28 +0200
commite6aa42f93751e4d9ac8505b7ac57acd5506bdec9 (patch)
tree3bdbb589c7e0abeb111cdd142f647fd21c762355 /kernel/hung_task.c
parentusb: gadget: u_ether: Remove duplicated include in u_ether.c (diff)
parentLinux 5.19-rc4 (diff)
downloadwireguard-linux-e6aa42f93751e4d9ac8505b7ac57acd5506bdec9.tar.xz
wireguard-linux-e6aa42f93751e4d9ac8505b7ac57acd5506bdec9.zip
Merge 5.19-rc4 into usb-next
We need the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/hung_task.c')
-rw-r--r--kernel/hung_task.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/kernel/hung_task.c b/kernel/hung_task.c
index 80bfea5dd5c4..cff3ae8c818f 100644
--- a/kernel/hung_task.c
+++ b/kernel/hung_task.c
@@ -127,8 +127,6 @@ static void check_hung_task(struct task_struct *t, unsigned long timeout)
* complain:
*/
if (sysctl_hung_task_warnings) {
- printk_prefer_direct_enter();
-
if (sysctl_hung_task_warnings > 0)
sysctl_hung_task_warnings--;
pr_err("INFO: task %s:%d blocked for more than %ld seconds.\n",
@@ -144,8 +142,6 @@ static void check_hung_task(struct task_struct *t, unsigned long timeout)
if (sysctl_hung_task_all_cpu_backtrace)
hung_task_show_all_bt = true;
-
- printk_prefer_direct_exit();
}
touch_nmi_watchdog();
@@ -208,17 +204,12 @@ static void check_hung_uninterruptible_tasks(unsigned long timeout)
}
unlock:
rcu_read_unlock();
- if (hung_task_show_lock) {
- printk_prefer_direct_enter();
+ if (hung_task_show_lock)
debug_show_all_locks();
- printk_prefer_direct_exit();
- }
if (hung_task_show_all_bt) {
hung_task_show_all_bt = false;
- printk_prefer_direct_enter();
trigger_all_cpu_backtrace();
- printk_prefer_direct_exit();
}
if (hung_task_call_panic)