[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121106145220.52a52829.akpm@linux-foundation.org>
Date: Tue, 6 Nov 2012 14:52:20 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
Cc: Tony Luck <tony.luck@...el.com>, Andi Kleen <andi.kleen@...el.com>,
Wu Fengguang <fengguang.wu@...el.com>,
Ingo Molnar <mingo@...e.hu>,
"Jun'ichi Nomura" <j-nomura@...jp.nec.com>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Jan Kara <jack@...e.cz>
Subject: Re: [PATCH 2/2 v2] mm: print out information of file affected by
memory error
On Tue, 6 Nov 2012 17:45:05 -0500
Naoya Horiguchi <n-horiguchi@...jp.nec.com> wrote:
> > "should be" and "unlikely" aren't very reassuring things to hear!
> > Emitting a million lines into syslog is pretty poor behaviour and
> > should be reliably avoided.
>
> So capping maximum lines of messages per some duration (a hour or a day)
> is a possible option. BTW, even if we don't apply this patch, the kernel
> can emit million lines of messages in the above-mentioned situation because
> each memory error event emits a message like "MCE 0x3f57f4: dirty LRU page
> recovery: Ignored" on syslog. If it's also bad, we need to do capping
> also over existing printk()s, right?
Yes, that sounds like a bug report waiting to happen.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists