WSL2-Linux-Kernel/Documentation/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
..
devices.txt [PATCH] Driver Core: remove driver model detach_state 2005-05-17 14:54:55 -07:00
interface.txt [PATCH] swsusp: use bytes as image size units 2006-02-01 08:53:12 -08:00
kernel_threads.txt [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
pci.txt [PATCH] kernel Doc/ URL corrections 2005-11-22 09:14:30 -08:00
states.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
swsusp-dmcrypt.txt [PATCH] swsusup with dm-crypt mini howto 2005-09-05 00:06:17 -07:00
swsusp.txt [PATCH] swsusp: documentation updates 2006-03-23 07:38:07 -08:00
tricks.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
userland-swsusp.txt [PATCH] swsusp: userland interface 2006-03-23 07:38:07 -08:00
video.txt [PATCH] swsusp: documentation updates 2006-03-23 07:38:07 -08:00
video_extension.txt [PATCH] acpi: fix video docs 2005-06-25 16:24:32 -07:00