]> err.no Git - linux-2.6/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)
commit8a235efad548abd2ab5ebea45a9ffa750c814375
tree9b8c6c1fa3d2e28d9bb198d7019cba8883d5299e
parente80af3a8dbbbf431b2070cc760699f01c5a6ac69
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