From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx203.postini.com [74.125.245.203]) by kanga.kvack.org (Postfix) with SMTP id 9407B6B0044 for ; Tue, 6 Nov 2012 17:52:22 -0500 (EST) Date: Tue, 6 Nov 2012 14:52:20 -0800 From: Andrew Morton Subject: Re: [PATCH 2/2 v2] mm: print out information of file affected by memory error Message-Id: <20121106145220.52a52829.akpm@linux-foundation.org> In-Reply-To: <1352241905-4657-1-git-send-email-n-horiguchi@ah.jp.nec.com> References: <20121106121220.d14696ac.akpm@linux-foundation.org> <1352241905-4657-1-git-send-email-n-horiguchi@ah.jp.nec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Naoya Horiguchi Cc: Tony Luck , Andi Kleen , Wu Fengguang , Ingo Molnar , Jun'ichi Nomura , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Jan Kara On Tue, 6 Nov 2012 17:45:05 -0500 Naoya Horiguchi 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org