]> git.baikalelectronics.ru Git - kernel.git/commit
Hibernation: Handle DEBUG_PAGEALLOC on x86
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 20 Feb 2008 00:47:44 +0000 (01:47 +0100)
committerLen Brown <len.brown@intel.com>
Thu, 21 Feb 2008 07:15:28 +0000 (02:15 -0500)
commit2a6294fc8f3269e9ededa470382ef835422c96c9
tree9b8c6c1fa3d2e28d9bb198d7019cba8883d5299e
parent30de79f43be04bd08fe1bddb6124b2574a6a122c
Hibernation: Handle DEBUG_PAGEALLOC on x86

Make hibernation work with CONFIG_DEBUG_PAGEALLOC set on x86, by
checking if the pages to be copied are marked as present in the
kernel mapping and temporarily marking them as present if that's not
the case.  No functional modifications are introduced if
CONFIG_DEBUG_PAGEALLOC is unset.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/mm/pageattr.c
include/linux/mm.h
kernel/power/snapshot.c