From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757623AbYDBB2h (ORCPT ); Tue, 1 Apr 2008 21:28:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753907AbYDBB22 (ORCPT ); Tue, 1 Apr 2008 21:28:28 -0400 Received: from n1.bullet.mail.re3.yahoo.com ([68.142.237.108]:22418 "HELO n1.bullet.mail.re3.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753902AbYDBB21 (ORCPT ); Tue, 1 Apr 2008 21:28:27 -0400 X-Yahoo-Newman-Id: 367199.91627.bm@omp206.mail.re3.yahoo.com DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=rfU5q8On5PI7k1V7JOgab+CgZgzULnFsWAX/mWFg/Ic63lt2gWzRJCgyFrS1raqQe+LRa0oJMWY4rJliwqGoTuAWVT2g++6LNU6scyF5NXwgLsmlW9K3Y0Wb/0EqrW3Q64XCiFIthjoVXbD+3KW1/QlT2OROoZmVQGgy9RHJ69A= ; X-YMail-OSG: uwJlAbUVM1mc9kt0Pn7ePQ10hUaYaarHFngHwRFZ6e9pt394pVri43aQV2w1SXrCjpI0.WozBg-- X-Yahoo-Newman-Property: ymail-3 From: Nick Piggin To: Dave Jones Subject: Re: GFP_ATOMIC page allocation failures. Date: Wed, 2 Apr 2008 12:28:16 +1100 User-Agent: KMail/1.9.5 Cc: Linux Kernel References: <20080401235609.GA6947@codemonkey.org.uk> In-Reply-To: <20080401235609.GA6947@codemonkey.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804021228.16875.nickpiggin@yahoo.com.au> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 02 April 2008 10:56, Dave Jones wrote: > I found a few ways to cause pages and pages of spew to dmesg > of the following form.. > > rhythmbox: page allocation failure. order:3, mode:0x4020 > Pid: 4299, comm: rhythmbox Not tainted 2.6.25-0.172.rc7.git4.fc9.x86_64 #1 > > Call Trace: > [] __alloc_pages+0x3a3/0x3c3 > [] ? trace_hardirqs_on_thunk+0x35/0x3a > [] alloc_pages_current+0x100/0x109 > [] new_slab+0x4a/0x249 > [] __slab_alloc+0x251/0x4e0 > [] ? __netdev_alloc_skb+0x31/0x4f > [] __kmalloc_node_track_caller+0x8a/0xe2 > [] ? __netdev_alloc_skb+0x31/0x4f > [] __alloc_skb+0x6f/0x135 > [] __netdev_alloc_skb+0x31/0x4f > [] :e1000e:e1000_alloc_rx_buffers+0xb7/0x1dc > [] :e1000e:e1000_clean_rx_irq+0x271/0x307 > [] :e1000e:e1000_clean+0x66/0x205 > [] net_rx_action+0xd9/0x20e > [] __do_softirq+0x70/0xf1 > [] call_softirq+0x1c/0x28 > [] do_softirq+0x39/0x8a > [] irq_exit+0x4e/0x8f > [] do_IRQ+0x145/0x167 > [] ret_from_intr+0x0/0xf > [] ? _spin_unlock_irqrestore+0x42/0x47 > [] ? __wake_up+0x43/0x50 > [] ? wake_futex+0x47/0x53 > [] ? do_futex+0x697/0xc57 > [] ? hrtick_set+0xa1/0xfc > [] ? sys_futex+0xf5/0x113 > [] ? syscall_trace_enter+0xb5/0xb9 > [] ? tracesys+0xd5/0xda > > > Given that we seem to recover from these events without negative effects > (ie, no apps get oom-killed), is there any value to actually flooding > syslog with this stuff ? It's nice to have. Perhaps it could just be hardlimited to print say 10 times, and maybe we could have a vmstat counter to keep count after that.