Subject: [merged] lib-show_memc-show-num_poisoned_pages-when-oom.patch removed from -mm tree To: qiuxishi@xxxxxxxxxx,kosaki.motohiro@xxxxxxxxxxxxxx,liwanp@xxxxxxxxxxxxxxxxxx,mhocko@xxxxxxx,n-horiguchi@xxxxxxxxxxxxx,rientjes@xxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Wed, 22 Jan 2014 12:14:36 -0800 The patch titled Subject: lib/show_mem.c: show num_poisoned_pages when oom has been removed from the -mm tree. Its filename was lib-show_memc-show-num_poisoned_pages-when-oom.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Xishi Qiu <qiuxishi@xxxxxxxxxx> Subject: lib/show_mem.c: show num_poisoned_pages when oom Show num_poisoned_pages when oom, it is a little helpful to find the reason. Also it will be emitted anytime show_mem() is called. Signed-off-by: Xishi Qiu <qiuxishi@xxxxxxxxxx> Suggested-by: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> Acked-by: Michal Hocko <mhocko@xxxxxxx> Acked-by: David Rientjes <rientjes@xxxxxxxxxx> Reviewed-by: Wanpeng Li <liwanp@xxxxxxxxxxxxxxxxxx> Acked-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/show_mem.c | 3 +++ 1 file changed, 3 insertions(+) diff -puN lib/show_mem.c~lib-show_memc-show-num_poisoned_pages-when-oom lib/show_mem.c --- a/lib/show_mem.c~lib-show_memc-show-num_poisoned_pages-when-oom +++ a/lib/show_mem.c @@ -43,4 +43,7 @@ void show_mem(unsigned int filter) printk("%lu pages in pagetable cache\n", quicklist_total_size()); #endif +#ifdef CONFIG_MEMORY_FAILURE + printk("%lu pages hwpoisoned\n", atomic_long_read(&num_poisoned_pages)); +#endif } _ Patches currently in -mm which might be from qiuxishi@xxxxxxxxxx are origin.patch mm-do_mincore-cleanup.patch mm-nobootmem-free_all_bootmem-again.patch doc-kmemcheck-add-kmemcheck-to-kernel-parameters.patch linux-next.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