An error occurred while fetching folder content.
[PATCH] swsusp: debugging
Rafael J. Wysocki authored
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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
b918f6e6
Name Last commit Last update
..
ABI [PATCH] swsusp: debugging
DocBook [PATCH] docbook: merge journal-api into filesystems.tmpl
RCU [PATCH] rcu: add sched torture type to rcutorture
accounting [PATCH] csa accounting taskstats update
aoe Fix typos in Documentation/: 'D'-'E'
arm Fix typos in Documentation/: 'N'-'P'
block Documentation: remove duplicated words
cdrom [PATCH] remove verify_area(): remove or edit references to verify_area in Documentation/
connector [CONNECTOR]: Add userspace example code into Documentation/connector/
console [PATCH] VT binding: Update documentation
cpu-freq Fix typos in Documentation/: 'S'
cris Linux-2.6.12-rc2
crypto [CRYPTO] doc: Update documentation for hash and me
device-mapper [PATCH] Fix dm-snapshot tutorial in Documentation
driver-model Documentation: remove duplicated words
drivers/edac [PATCH] Fix and enable EDAC sysfs operation
dvb Fix typos in Documentation/: 'S'
early-userspace earlyuserspace/README: fix homonym err
fb Documentation: remove duplicated words
filesystems [PATCH] Documentation/filesystems/ext4.txt
firmware_class [PATCH] drivers/base/firmware_class.c: cleanups
fujitsu/frv Documentation: remove duplicated words
hwmon k8temp: Documentation update
i2c i2c-viapro: Add support for the VT8237A and VT8251
i2o spelling: s/retreive/retrieve/
i386
ia64
infiniband
input
ioctl
isdn
kbuild
kdump
m68k
mips
netlabel
networking
parisc
pcmcia
power
powerpc
s390
scsi
serial
sh
sound
sparc
spi
sysctl
telephony
uml
usb
video4linux
vm
w1
watchdog
x86_64
00-INDEX
BUG-HUNTING
Changes
CodingStyle
DMA-API.txt
DMA-ISA-LPC.txt
DMA-mapping.txt
HOWTO
IO-mapping.txt
IPMI.txt
IRQ-affinity.txt
IRQ.txt
MSI-HOWTO.txt
ManagementStyle
PCIEBUS-HOWTO.txt
README.DAC960
README.cycladesZ
SAK.txt
SecurityBugs
SubmitChecklist
SubmittingDrivers
SubmittingPatches
VGA-softcursor.txt
acpi-hotkey.txt
applying-patches.txt
atomic_ops.txt
basic_profiling.txt
binfmt_misc.txt
cachetlb.txt
cciss.txt
cli-sti-removal.txt
computone.txt
cpqarray.txt
cpu-hotplug.txt
cpusets.txt
cputopology.txt
dcdbas.txt
debugging-modules.txt
dell_rbu.txt
devices.txt
digiepca.txt
dnotify.txt
dontdiff