From: Andrew Morton Date: Thu, 19 Jul 2007 08:47:26 +0000 (-0700) Subject: freezer: run show_state() when freezing times out X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=328616e3b76859f1abdd08a8df1ddbb7bb81f807;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git freezer: run show_state() when freezing times out To see which tasks are stuck where. Cc: "Rafael J. Wysocki" Cc: Oleg Nesterov Cc: Alan Stern Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/power/process.c b/kernel/power/process.c index e0233d8422b9..b850173e7561 100644 --- a/kernel/power/process.c +++ b/kernel/power/process.c @@ -157,6 +157,7 @@ static unsigned int try_to_freeze_tasks(int freeze_user_space) freeze_user_space ? "user space processes" : "kernel threads", TIMEOUT / HZ, todo); + show_state(); read_lock(&tasklist_lock); do_each_thread(g, p) { if (freeze_user_space && !is_user_space(p))