Skip to contentSkip to conversation

lib-show_memc-show-num_poisoned_pages-when-oom.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 22, 2014 Library code

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] lib-show_memc-show-num_poisoned_pages-when-oom.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
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 <[email protected]>
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.

---

 lib/show_mem.c |    3 +++
 1 file changed, 3 insertions(+)
lib/show_mem.c renamed from lib/show_mem.c~lib-show_memc-show-num_poisoned_pages-when-oom +3 -0
diff -puN lib/show_mem.c~lib-show_memc-show-num_poisoned_pages-when-oom 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 [email protected] 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