[PATCH] swsusp: clean up browsing of pfns
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 26 Sep 2006 06:32:45 +0000 (23:32 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:58 +0000 (08:48 -0700)
commitae83c5eef59ffe6eb61110b8c8fd1ea3e0881712
tree731e4d382ff408387624df1fc59e82ab50436f50
parent546e0d271941dd1ff6961e2a1f7eac75f1fc277e
[PATCH] swsusp: clean up browsing of pfns

Clean up some loops over pfns for each zone in snapshot.c: reduce the
number of additions to perform, rework detection of saveable pages and make
the code a bit less difficult to understand, hopefully.

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>
kernel/power/snapshot.c