summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2005-10-30 14:59:55 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-30 17:37:14 -0800
commit351619baf9878731b4272fa10dda0f84f5582241 (patch)
tree62bf45ba8368dddde3adb501a37c428ead5feff7 /security
parentc32b6b8e524d2c337767d312814484d9289550cf (diff)
downloadop-kernel-dev-351619baf9878731b4272fa10dda0f84f5582241.zip
op-kernel-dev-351619baf9878731b4272fa10dda0f84f5582241.tar.gz
[PATCH] swsusp: rework image freeing
The following patch makes swsusp use PG_nosave and PG_nosave_free flags to mark pages that should be freed after the state of the system has been restored from the image (or in case of an error during suspend). This allows us to avoid storing metadata in swap twice and to reduce the amount of memory needed by swsusp.  Additionally, it allows us to simplify the code by removing a couple of functions that are no longer necessary. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud