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 [PATCH] x86: reserve a boot-loader ID number for Xen
ia64 Documentation: remove duplicated words
infiniband IB/ipoib: Remove broken link from Kconfig and documentation
input USB: xpad: dance pad support
ioctl Fix "can not" in Documentation and Kconfig
isdn Documentation: remove duplicated words
kbuild [PATCH] docs: small kbuild cleanup
kdump Documentation: remove duplicated words
m68k Documentation: remove duplicated words
mips [MIPS] Fixup migration to GENERIC_TIME
netlabel [NetLabel]: documentation
networking Documentation: remove duplicated words
parisc Linux-2.6.12-rc2
pcmcia [PATCH] pcmcia: expose tool in pcmcia/Documentation/pcmcia/
power [PATCH] swsusp: debugging
powerpc Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
s390 [S390] cio: update documentation.
scsi Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
serial [SERIAL] Update parity handling documentation
sh Fix typos in Documentation/: 'H'-'M'
sound [PATCH] The scheduled removal of some OSS drivers
sparc Fix typos in Documentation/: 'Q'-'R'
spi Documentation: remove duplicated words
sysctl [PATCH] document the core-dump-to-a-pipe patch
telephony Linux-2.6.12-rc2
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