From: Magnus Damm Date: Tue, 26 Sep 2006 08:52:38 +0000 (+0200) Subject: [PATCH] i386: Avoid overwriting the current pgd (V4, i386) X-Git-Tag: v2.6.19-rc1~1077^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3566561bfadffcb5dbc85d576be80c0dbf2cccc9;p=pandora-kernel.git [PATCH] i386: Avoid overwriting the current pgd (V4, i386) kexec: Avoid overwriting the current pgd (V4, i386) This patch upgrades the i386-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