kernel-aes67/kernel/power
Rafael J. Wysocki 6e1819d615 [PATCH] swsusp: userland interface
This patch introduces a user space interface for swsusp.

The interface is based on a special character device, called the snapshot
device, that allows user space processes to perform suspend and resume-related
operations with the help of some ioctls and the read()/write() functions.
 Additionally it allows these processes to allocate free swap pages from a
selected swap partition, called the resume partition, so that they know which
sectors of the resume partition are available to them.

The interface uses the same low-level system memory snapshot-handling
functions that are used by the built-it swap-writing/reading code of swsusp.

The interface documentation is included in the patch.

The patch assumes that the major and minor numbers of the snapshot device will
be 10 (ie.  misc device) and 231, the registration of which has already been
requested.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-23 07:38:07 -08:00
..
console.c [PATCH] Fix build failure in recent pm_prepare_* changes. 2006-02-07 16:12:33 -08:00
disk.c [PATCH] kernel/power: move externs to header files 2006-03-23 07:38:07 -08:00
Kconfig SOFTWARE_SUSPEND: fix a typo in the dependencies 2006-01-15 02:01:39 +01:00
main.c [ACPI] SMP S3 resume: evaluate _WAK after INIT 2005-11-30 23:15:55 -05:00
Makefile [PATCH] swsusp: userland interface 2006-03-23 07:38:07 -08:00
pm.c [PATCH] move pm_register/etc. to CONFIG_PM_LEGACY, pm_legacy.h 2005-11-13 18:14:10 -08:00
power.h [PATCH] swsusp: userland interface 2006-03-23 07:38:07 -08:00
poweroff.c [PATCH] Use kernel_power_off in sysrq-o 2005-07-26 14:35:43 -07:00
process.c [PATCH] swsusp: documentation updates 2006-03-23 07:38:07 -08:00
smp.c [PATCH] Address BUG: using smp_processor_id() in preemptible [00000001] code 2005-07-27 16:25:50 -07:00
snapshot.c [PATCH] swsusp: userland interface 2006-03-23 07:38:07 -08:00
swap.c [PATCH] swsusp: separate swap-writing/reading code 2006-03-23 07:38:07 -08:00
swsusp.c [PATCH] swsusp: separate swap-writing/reading code 2006-03-23 07:38:07 -08:00
user.c [PATCH] swsusp: userland interface 2006-03-23 07:38:07 -08:00