diff options
| author | 2006-11-02 22:07:19 -0800 | |
|---|---|---|
| committer | 2006-11-03 12:27:58 -0800 | |
| commit | b918f6e62cd46774f9fc0a3fbba6bd10ad85ee14 (patch) | |
| tree | d73dc0e8823c8445d84701cc3d527e0e34494a32 /include/linux/errqueue.h | |
| parent | [PATCH] acpi_noirq section fix (diff) | |
[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 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
