Commit:     83a08e7c6ed533a47631794e7f618a98094b4129
Parent:     caeeeecfdaeada2998eb3c29c3ebd59afb79ef06
Author:     Ken'ichi Ohmichi <[EMAIL PROTECTED]>
AuthorDate: Tue Jan 8 15:33:05 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Jan 8 16:10:36 2008 -0800

    vmcoreinfo: add the array length of "free_list" for filtering free pages
    This patch adds the array length of "free_area.free_list" to the vmcoreinfo
    data so that makedumpfile (dump filtering command) can exclude all free 
    in linux-2.6.24.
    makedumpfile creates a small dumpfile by excluding unnecessary pages for the
    analysis. To distinguish unnecessary pages, makedumpfile gets the vmcoreinfo
    data which has the minimum debugging information only for dump filtering.
    In 2.6.24-rc1 or later, the free_area.free_list is an array which has one 
    for each migrate types instead of a single list. makedumpfile needs the 
    length of "free_area.free_list" and the vmcoreinfo data should contain it.
    Signed-off-by: Huang Ying <[EMAIL PROTECTED]>
    Tested-by: Ken'ichi Ohmichi <[EMAIL PROTECTED]>
    Acked-by: Simon Horman <[EMAIL PROTECTED]>
    Cc: David Rientjes <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 kernel/kexec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/kexec.c b/kernel/kexec.c
index aa74a1e..9a26eec 100644
--- a/kernel/kexec.c
+++ b/kernel/kexec.c
@@ -1404,6 +1404,7 @@ static int __init crash_save_vmcoreinfo_init(void)
        VMCOREINFO_OFFSET(list_head, next);
        VMCOREINFO_OFFSET(list_head, prev);
        VMCOREINFO_LENGTH(zone.free_area, MAX_ORDER);
+       VMCOREINFO_LENGTH(free_area.free_list, MIGRATE_TYPES);
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