diff options
author | Magnus Damm <magnus@valinux.co.jp> | 2006-09-26 10:52:38 +0200 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-09-26 10:52:38 +0200 |
commit | 4bfaaef01a1badb9e8ffb0c0a37cd2379008d21f (patch) | |
tree | 652effe9d02c80d93357512233f4ee962320ac3b /arch/i386/kernel/relocate_kernel.S | |
parent | f574164491d00d28b727d713685fb5edc9138200 (diff) | |
download | blackbird-op-linux-4bfaaef01a1badb9e8ffb0c0a37cd2379008d21f.tar.gz blackbird-op-linux-4bfaaef01a1badb9e8ffb0c0a37cd2379008d21f.zip |
[PATCH] Avoid overwriting the current pgd (V4, x86_64)
kexec: Avoid overwriting the current pgd (V4, x86_64)
This patch upgrades the x86_64-specific kexec code to avoid overwriting the
current pgd. Overwriting the current pgd is bad when CONFIG_CRASH_DUMP is used
to start a secondary kernel that dumps the memory of the previous kernel.
The code introduces a new set of page tables. These tables are used to provide
an executable identity mapping without overwriting the current pgd.
Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386/kernel/relocate_kernel.S')
0 files changed, 0 insertions, 0 deletions