diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-07-19 08:47:26 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 17:04:42 (GMT) |
commit | 328616e3b76859f1abdd08a8df1ddbb7bb81f807 (patch) | |
tree | c2f5bf6250159b19cff6f000f2f752b8924d6dc6 /kernel | |
parent | 3ee6dafc677a68e461a7ddafc94a580ebab80735 (diff) | |
download | linux-328616e3b76859f1abdd08a8df1ddbb7bb81f807.tar.xz |
freezer: run show_state() when freezing times out
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/power/process.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)) |