GFP_ATOMIC page allocation failures.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linux Kernel <linux-kernel@...>
Date: Tuesday, April 1, 2008 - 7:56 pm

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:
 <IRQ>  [<ffffffff810862dc>] __alloc_pages+0x3a3/0x3c3
 [<ffffffff812a58df>] ? trace_hardirqs_on_thunk+0x35/0x3a
 [<ffffffff8109fd94>] alloc_pages_current+0x100/0x109
 [<ffffffff810a6fd5>] new_slab+0x4a/0x249
 [<ffffffff810a776a>] __slab_alloc+0x251/0x4e0
 [<ffffffff8121c322>] ? __netdev_alloc_skb+0x31/0x4f
 [<ffffffff810a8736>] __kmalloc_node_track_caller+0x8a/0xe2
 [<ffffffff8121c322>] ? __netdev_alloc_skb+0x31/0x4f
 [<ffffffff8121b5db>] __alloc_skb+0x6f/0x135
 [<ffffffff8121c322>] __netdev_alloc_skb+0x31/0x4f
 [<ffffffff8814e5b4>] :e1000e:e1000_alloc_rx_buffers+0xb7/0x1dc
 [<ffffffff8814eada>] :e1000e:e1000_clean_rx_irq+0x271/0x307
 [<ffffffff8814c71a>] :e1000e:e1000_clean+0x66/0x205
 [<ffffffff8121eeb8>] net_rx_action+0xd9/0x20e
 [<ffffffff81038757>] __do_softirq+0x70/0xf1
 [<ffffffff8100d25c>] call_softirq+0x1c/0x28
 [<ffffffff8100e485>] do_softirq+0x39/0x8a
 [<ffffffff81038290>] irq_exit+0x4e/0x8f
 [<ffffffff8100e781>] do_IRQ+0x145/0x167
 [<ffffffff8100c5e6>] ret_from_intr+0x0/0xf
 <EOI>  [<ffffffff812a5ed8>] ? _spin_unlock_irqrestore+0x42/0x47
 [<ffffffff8102a040>] ? __wake_up+0x43/0x50
 [<ffffffff81056b7f>] ? wake_futex+0x47/0x53
 [<ffffffff810584cf>] ? do_futex+0x697/0xc57
 [<ffffffff8102fbc4>] ? hrtick_set+0xa1/0xfc
 [<ffffffff81058b84>] ? sys_futex+0xf5/0x113
 [<ffffffff810133e7>] ? syscall_trace_enter+0xb5/0xb9
 [<ffffffff8100c1d0>] ? 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 ?

iirc, SuSE have been patching out these traces for GFP_ATOMIC allocations
for a long time.  Should mainline do the same ?

	Dave

-- 
http://www.codemonkey.org.uk
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
GFP_ATOMIC page allocation failures., Dave Jones, (Tue Apr 1, 7:56 pm)
Re: GFP_ATOMIC page allocation failures., Nick Piggin, (Tue Apr 1, 9:28 pm)
Re: GFP_ATOMIC page allocation failures., Dave Jones, (Tue Apr 1, 9:35 pm)
Re: GFP_ATOMIC page allocation failures., Chris Snook, (Wed Apr 2, 2:28 am)
Re: GFP_ATOMIC page allocation failures., Andrew Morton, (Wed Apr 2, 3:56 am)
Re: GFP_ATOMIC page allocation failures., Jeff Garzik, (Wed Apr 2, 1:21 pm)
Re: GFP_ATOMIC page allocation failures., Andrew Morton, (Wed Apr 2, 1:33 pm)
Re: GFP_ATOMIC page allocation failures., Jeff Garzik, (Wed Apr 2, 2:18 pm)
Re: GFP_ATOMIC page allocation failures., Nick Piggin, (Thu Apr 3, 1:57 am)
Re: GFP_ATOMIC page allocation failures., Jeff Garzik, (Thu Apr 3, 2:20 pm)
Re: GFP_ATOMIC page allocation failures., Kok, Auke, (Wed Apr 2, 2:37 pm)
Re: GFP_ATOMIC page allocation failures., Nick Piggin, (Wed Apr 2, 5:12 am)
Re: GFP_ATOMIC page allocation failures., Andrew Morton, (Wed Apr 2, 11:54 am)
Re: GFP_ATOMIC page allocation failures., Nick Piggin, (Thu Apr 3, 1:22 am)
Re: GFP_ATOMIC page allocation failures., Andrew Morton, (Thu Apr 3, 1:32 am)
Re: GFP_ATOMIC page allocation failures., Evgeniy Polyakov, (Thu Apr 3, 4:59 am)
Re: GFP_ATOMIC page allocation failures., Dave Jones, (Thu Jun 26, 5:06 pm)
Re: GFP_ATOMIC page allocation failures., Evgeniy Polyakov, (Fri Jun 27, 6:01 am)
Re: GFP_ATOMIC page allocation failures., Chris Snook, (Thu Jun 26, 6:26 pm)
Re: GFP_ATOMIC page allocation failures., KOSAKI Motohiro, (Wed Apr 2, 4:17 am)
Re: GFP_ATOMIC page allocation failures., David Miller, (Wed Apr 2, 4:24 am)
Re: GFP_ATOMIC page allocation failures., Peter Zijlstra, (Wed Apr 2, 7:04 am)
Re: GFP_ATOMIC page allocation failures., David Miller, (Wed Apr 2, 2:45 pm)
Re: GFP_ATOMIC page allocation failures., Jeff Garzik, (Wed Apr 2, 3:06 pm)
Re: GFP_ATOMIC page allocation failures., KOSAKI Motohiro, (Wed Apr 2, 6:00 am)
Re: GFP_ATOMIC page allocation failures., KOSAKI Motohiro, (Wed Apr 2, 6:56 am)
Re: GFP_ATOMIC page allocation failures., David Miller, (Wed Apr 2, 2:44 pm)
Re: GFP_ATOMIC page allocation failures., Michael Chan, (Wed Apr 2, 4:12 pm)
Re: GFP_ATOMIC page allocation failures., David Miller, (Wed Apr 2, 4:53 pm)
Re: GFP_ATOMIC page allocation failures., Andrew Morton, (Wed Apr 2, 4:43 am)