Commit:     69243f91257083795065762ce805120b980e256b
Parent:     03d0d20e640a6189ec85fa917259d94013b4d730
Author:     Ken'ichi Ohmichi <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 26 14:19:26 2007 +0900
Committer:  Thomas Gleixner <[EMAIL PROTECTED]>
CommitDate: Sat Oct 27 20:57:43 2007 +0200

    x86: Dump filtering supports x86_64 sparsemem
    This patch adds the symbol "init_level4_pgt" to the vmcoreinfo data so
    that makedumpfile (dump filtering command) supports x86_64 sparsemem
    kernel of linux-2.6.24.
    makedumpfile creates a small dumpfile by excluding unnecessary pages for
    the analysis. It checks attributes in page structures and distinguishes
    necessary pages and unnecessary ones. To check them, makedumpfile gets
    the vmcoreinfo data which has the minimum debugging information only for
    dump filtering.
    For older x86_64 kernel (linux-2.6.23 or before), makedumpfile translates
    the virtual address of page structure into physical address by subtracting
    PAGE_OFFSET from virtual address, but this translation isn't effective for
    linux-2.6.24 sparsemem kernel, because its page structures are in virtual
    memmap area. makedumpfile should translate their virtual address by 4-levels
    paging and it needs the symbol "init_level4_pgt".
    Signed-off-by: Ken'ichi Ohmichi <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
 arch/x86/kernel/machine_kexec_64.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/machine_kexec_64.c 
index 0d8577f..aa3d2c8 100644
--- a/arch/x86/kernel/machine_kexec_64.c
+++ b/arch/x86/kernel/machine_kexec_64.c
@@ -233,6 +233,8 @@ NORET_TYPE void machine_kexec(struct kimage *image)
 void arch_crash_save_vmcoreinfo(void)
+       VMCOREINFO_SYMBOL(init_level4_pgt);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to