diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2007-10-18 03:04:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 14:37:20 -0700 |
commit | efa4d2fb047b25a6be67fe92178a2a78da6b3f6a (patch) | |
tree | 82f2e7bc66d3867fcd4f66c424403d35b9d49812 /drivers/acpi/sleep/main.c | |
parent | c30bb68c26ad7e9277f2d1dfed8347f329e1cf27 (diff) | |
download | lwn-efa4d2fb047b25a6be67fe92178a2a78da6b3f6a.tar.gz lwn-efa4d2fb047b25a6be67fe92178a2a78da6b3f6a.zip |
Hibernation: Use temporary page tables for kernel text mapping on x86_64
Use temporary page tables for the kernel text mapping during hibernation
restore on x86_64.
Without the patch, the original boot kernel's page tables that represent the
kernel text mapping are used while the core of the image kernel is being
restored. However, in principle, if the boot kernel is not identical to the
image kernel, the location of these page tables in the image kernel need not
be the same, so we should create a safe copy of the kernel text mapping prior
to restoring the core of the image kernel.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/acpi/sleep/main.c')
0 files changed, 0 insertions, 0 deletions