]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Hibernate: Take overlapping zones into account (rev. 2)
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 26 Nov 2008 23:00:24 +0000 (18:00 -0500)
committerLen Brown <len.brown@intel.com>
Fri, 19 Dec 2008 09:40:35 +0000 (04:40 -0500)
commit846705deb059c352cc0e5806d5964f815b8c6d98
tree50a8845b1449fe99144358cef6e04feab0941288
parent69643279a88dea000ac2f858091d0e365f778245
Hibernate: Take overlapping zones into account (rev. 2)

It has been requested to make hibernation work with memory
hotplugging enabled and for this purpose the hibernation code has to
be reworked to take the possible overlapping of zones into account.
Thus, rework the hibernation memory bitmaps code to prevent
duplication of PFNs from occuring and add checks to make sure that
one page frame will not be marked as saveable many times.

Additionally, use list.h lists instead of open-coded lists to
implement the memory bitmaps.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
kernel/power/snapshot.c