From: Magnus Damm Date: Tue, 26 Sep 2006 08:52:38 +0000 (+0200) Subject: [PATCH] Avoid overwriting the current pgd (V4, x86_64) X-Git-Tag: v2.6.19-rc1~1077^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bfaaef01a1badb9e8ffb0c0a37cd2379008d21f;p=pandora-kernel.git [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 Signed-off-by: Andi Kleen --- Reading git-diff-tree failed