--- a/mm/debug.c~mm-print-head-flags-in-dump_page +++ a/mm/debug.c @@ -168,7 +168,7 @@ void __dump_page(struct page *page, cons out_mapping: BUILD_BUG_ON(ARRAY_SIZE(pageflag_names) != __NR_PAGEFLAGS + 1); - pr_warn("%sflags: %#lx(%pGp)%s\n", type, page->flags, &page->flags, + pr_warn("%sflags: %#lx(%pGp)%s\n", type, head->flags, &head->flags, page_cma ? " CMA" : ""); hex_only: