]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
freezer: run show_state() when freezing times out
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 19 Jul 2007 08:47:26 +0000 (01:47 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:42 +0000 (10:04 -0700)
To see which tasks are stuck where.

Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/power/process.c

index e0233d8422b9ed4ec9d62ce1f54bd65165931daa..b850173e7561058e768675f3a11d04087a185999 100644 (file)
@@ -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))