diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2006-11-02 22:07:19 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-11-03 12:27:58 -0800 |
commit | b918f6e62cd46774f9fc0a3fbba6bd10ad85ee14 (patch) | |
tree | d73dc0e8823c8445d84701cc3d527e0e34494a32 /fs/reiserfs | |
parent | 90d53909443b3986569b38ef145f09ea2359af75 (diff) | |
download | blackbird-op-linux-b918f6e62cd46774f9fc0a3fbba6bd10ad85ee14.tar.gz blackbird-op-linux-b918f6e62cd46774f9fc0a3fbba6bd10ad85ee14.zip |
[PATCH] swsusp: debugging
Add a swsusp debugging mode. This does everything that's needed for a suspend
except for actually suspending. So we can look in the log messages and work
out a) what code is being slow and b) which drivers are misbehaving.
(1)
# echo testproc > /sys/power/disk
# echo disk > /sys/power/state
This should turn off the non-boot CPU, freeze all processes, wait for 5
seconds and then thaw the processes and the CPU.
(2)
# echo test > /sys/power/disk
# echo disk > /sys/power/state
This should turn off the non-boot CPU, freeze all processes, shrink
memory, suspend all devices, wait for 5 seconds, resume the devices etc.
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Stefan Seyfried <seife@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/reiserfs')
0 files changed, 0 insertions, 0 deletions