• Rafael J. Wysocki's avatar
    Hibernate: Take overlapping zones into account (rev. 2) · 846705de
    Rafael J. Wysocki authored
    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: default avatarRafael J. Wysocki <rjw@sisk.pl>
    Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    846705de
snapshot.c 50.7 KB