From: Andrew Morton Date: Thu, 19 Jul 2007 08:47:26 +0000 (-0700) Subject: freezer: run show_state() when freezing times out X-Git-Tag: v2.6.23-rc1~466 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=328616e3b76859f1abdd08a8df1ddbb7bb81f807;p=platform%2Fupstream%2Fkernel-adaptation-pc.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 e0233d8..b850173 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))