diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-07-19 01:47:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 10:04:42 -0700 |
commit | 328616e3b76859f1abdd08a8df1ddbb7bb81f807 (patch) | |
tree | c2f5bf6250159b19cff6f000f2f752b8924d6dc6 /kernel | |
parent | 3ee6dafc677a68e461a7ddafc94a580ebab80735 (diff) | |
download | kernel_samsung_smdk4412-328616e3b76859f1abdd08a8df1ddbb7bb81f807.zip kernel_samsung_smdk4412-328616e3b76859f1abdd08a8df1ddbb7bb81f807.tar.gz kernel_samsung_smdk4412-328616e3b76859f1abdd08a8df1ddbb7bb81f807.tar.bz2 |
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)) |