linux/init
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
..
calibrate.c [PATCH] Platform SMIs and their interferance with tsc based delay calibration 2005-06-23 09:45:08 -07:00
do_mounts.c [PATCH] remove driverfs references from init/do_mounts.c 2005-09-02 00:57:31 -07:00
do_mounts.h [PATCH] name_to_dev_t warning fix 2005-07-12 16:00:58 -07:00
do_mounts_devfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
do_mounts_initrd.c [PATCH] swsusp: userland interface 2006-03-23 07:38:07 -08:00
do_mounts_md.c [PATCH] md: remove personality numbering from md 2006-01-06 08:34:06 -08:00
do_mounts_rd.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
initramfs.c [PATCH] kexec: fix in free initrd when overlapped with crashkernel region 2006-02-10 08:13:12 -08:00
Kconfig [PATCH] selinux: require AUDIT 2006-02-07 16:12:33 -08:00
main.c [PATCH] Register the boot-cpu in the cpu maps earlier 2006-03-23 07:38:05 -08:00
Makefile kbuild: "PREEMPT" in UTS_VERSION 2005-07-14 20:18:07 +00:00
version.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00