Ups, sorry about that. Andrew could you fold the following into mm-vmstat-skip-reporting-offline-pages-in-pagetypeinfo.patch --- >From 4cfc1527d88a93c56292e4457f5bf968d46d0134 Mon Sep 17 00:00:00 2001 From: Michal Hocko <mhocko@xxxxxxxx> Date: Fri, 19 May 2017 09:20:05 +0200 Subject: [PATCH] fold me "mm, vmstat: skip reporting offline pages in pagetypeinfo" 0-day has reported In file included from arch/x86/include/asm/page.h:75:0, from arch/x86/include/asm/thread_info.h:11, from include/linux/thread_info.h:37, from arch/x86/include/asm/preempt.h:6, from include/linux/preempt.h:80, from include/linux/spinlock.h:50, from include/linux/wait.h:8, from include/linux/fs.h:5, from mm/vmstat.c:12: mm/vmstat.c: In function 'pagetypeinfo_showblockcount_print': >> include/asm-generic/memory_model.h:54:52: warning: 'page' is used uninitialized in this function [-Wuninitialized] #define __page_to_pfn(page) (unsigned long)((page) - vmemmap) ^ mm/vmstat.c:1224:16: note: 'page' was declared here struct page *page; ^~~~ Signed-off-by: Michal Hocko <mhocko@xxxxxxxx> --- mm/vmstat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mm/vmstat.c b/mm/vmstat.c index c432e581f9a9..6dae6b240b21 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c @@ -1223,7 +1223,8 @@ static void pagetypeinfo_showblockcount_print(struct seq_file *m, for (pfn = start_pfn; pfn < end_pfn; pfn += pageblock_nr_pages) { struct page *page; - if (!pfn_to_online_page(pfn)) + page = pfn_to_online_page(pfn); + if (!page) continue; /* Watch for unexpected holes punched in the memmap */ -- 2.11.0 -- Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>