The patch titled vmcoreinfo: add the array length of "free_list" for filtering free pages has been added to the -mm tree. Its filename is vmcoreinfo-add-the-array-length-of-free_list-for-filtering-free-pages.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: vmcoreinfo: add the array length of "free_list" for filtering free pages From: "Ken'ichi Ohmichi" <oomichi@xxxxxxxxxxxxxxxxx> 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 pages 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 list for each migrate types instead of a single list. makedumpfile needs the array length of "free_area.free_list" and the vmcoreinfo data should contain it. Signed-off-by: Huang Ying <ying.huang@xxxxxxxxx> Tested-by: Ken'ichi Ohmichi <oomichi@xxxxxxxxxxxxxxxxx> Acked-by: Simon Horman <horms@xxxxxxxxxxxx> Cc: David Rientjes <rientjes@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kexec.c | 1 + 1 file changed, 1 insertion(+) diff -puN kernel/kexec.c~vmcoreinfo-add-the-array-length-of-free_list-for-filtering-free-pages kernel/kexec.c --- a/kernel/kexec.c~vmcoreinfo-add-the-array-length-of-free_list-for-filtering-free-pages +++ a/kernel/kexec.c @@ -1404,6 +1404,7 @@ static int __init crash_save_vmcoreinfo_ 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); VMCOREINFO_NUMBER(NR_FREE_PAGES); arch_crash_save_vmcoreinfo(); _ Patches currently in -mm which might be from oomichi@xxxxxxxxxxxxxxxxx are vmcoreinfo-rename-vmcoreinfos-macros-returning-the-size.patch vmcoreinfo-use-the-existing-offsetof-for-vmcoreinfo_offset.patch vmcoreinfo-add-vmcoreinfo_-to-all-the-call-for-vmcoreinfo_append_str.patch vmcoreinfo-fix-the-configuration-dependencies.patch vmcoreinfo-add-the-array-length-of-free_list-for-filtering-free-pages.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html