From: Wu Fengguang on
Get rid of the amusing last line, emitted for slab/reserved kernel pages:

[ 328.396842] MCE 0x1ff00: Unknown page state
[ 328.399058] MCE 0x1ff00: dirty unknown page state page recovery: Failed
[ 328.402465] MCE 0x1ff00: unknown page state page still referenced by -1 users

CC: Andi Kleen <andi(a)firstfloor.org>
Signed-off-by: Wu Fengguang <fengguang.wu(a)intel.com>
---
mm/memory-failure.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-mm.orig/mm/memory-failure.c 2010-01-22 11:20:28.000000000 +0800
+++ linux-mm/mm/memory-failure.c 2010-01-30 17:23:40.000000000 +0800
@@ -803,7 +803,7 @@ static int page_action(struct page_state
count = page_count(p) - 1;
if (ps->action == me_swapcache_dirty && result == DELAYED)
count--;
- if (count != 0) {
+ if (count > 0) {
printk(KERN_ERR
"MCE %#lx: %s page still referenced by %d users\n",
pfn, ps->msg, count);


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/