[PATCH] swsusp: low level interface
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 23 Mar 2006 10:59:59 +0000 (02:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:07 +0000 (07:38 -0800)
commitf577eb30afdc68233f25d4d82b04102129262365
tree25d3c2fa8dfbf42fd0d4776a36166736fcc1446a
parent2b322ce210aec74ae0d02938d3a01e29fe079469
[PATCH] swsusp: low level interface

Introduce the low level interface that can be used for handling the
snapshot of the system memory by the in-kernel swap-writing/reading code of
swsusp and the userland interface code (to be introduced shortly).

Also change the way in which swsusp records the allocated swap pages and,
consequently, simplifies the in-kernel swap-writing/reading code (this is
necessary for the userland interface too).  To this end, it introduces two
helper functions in mm/swapfile.c, so that the swsusp code does not refer
directly to the swap internals.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/swap.h
kernel/power/disk.c
kernel/power/power.h
kernel/power/snapshot.c
kernel/power/swsusp.c
mm/swapfile.c
This page took 0.025176 seconds and 5 git commands to generate.