The patch titled Subject: kdump: include PG_reserved value in VMCOREINFO has been added to the -mm tree. Its filename is kdump-include-pg_reserved-value-in-vmcoreinfo.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/kdump-include-pg_reserved-value-in-vmcoreinfo.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/kdump-include-pg_reserved-value-in-vmcoreinfo.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: David Hildenbrand <david@xxxxxxxxxx> Subject: kdump: include PG_reserved value in VMCOREINFO PG_reserved pages should never be touched by enybody except their owner. Let's allow dumping tools to skip these pages. Link: http://lkml.kernel.org/r/20180720123422.10127-3-david@xxxxxxxxxx Signed-off-by: David Hildenbrand <david@xxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Cc: Dave Young <dyoung@xxxxxxxxxx> Cc: Baoquan He <bhe@xxxxxxxxxx> Cc: Hari Bathini <hbathini@xxxxxxxxxxxxxxxxxx> Cc: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Cc: Huang Ying <ying.huang@xxxxxxxxx> Cc: "Marc-André Lureau" <marcandre.lureau@xxxxxxxxxx> Cc: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Miles Chen <miles.chen@xxxxxxxxxxxx> Cc: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx> Cc: Petr Tesarik <ptesarik@xxxxxxx> Cc: Vlastimil Babka <vbabka@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/crash_core.c | 1 + 1 file changed, 1 insertion(+) diff -puN kernel/crash_core.c~kdump-include-pg_reserved-value-in-vmcoreinfo kernel/crash_core.c --- a/kernel/crash_core.c~kdump-include-pg_reserved-value-in-vmcoreinfo +++ a/kernel/crash_core.c @@ -451,6 +451,7 @@ static int __init crash_save_vmcoreinfo_ log_buf_vmcoreinfo_setup(); VMCOREINFO_LENGTH(free_area.free_list, MIGRATE_TYPES); VMCOREINFO_NUMBER(NR_FREE_PAGES); + VMCOREINFO_NUMBER(PG_reserved); VMCOREINFO_NUMBER(PG_lru); VMCOREINFO_NUMBER(PG_private); VMCOREINFO_NUMBER(PG_swapcache); _ Patches currently in -mm which might be from david@xxxxxxxxxx are mm-clarify-semantics-of-reserved-pages.patch kdump-include-pg_reserved-value-in-vmcoreinfo.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