From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pekka Pietikainen Subject: [ipw2100, b44] Re: X or AF_UNIX and order 3 allocation Date: Sun, 27 Apr 2008 19:48:24 +0300 Message-ID: <20080427164824.GA31477@ee.oulu.fi> References: <20080415211055.882e67fe.zaitcev@redhat.com> <20080415.215144.87148045.davem@davemloft.net> <20080416085213.1e55bd1e@extreme> <20080416095938.66d798e4.zaitcev@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: Stephen Hemminger , David Miller , netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Pete Zaitcev Return-path: Received: from ee.oulu.fi ([130.231.61.23]:56274 "EHLO ee.oulu.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755670AbYD0RQs (ORCPT ); Sun, 27 Apr 2008 13:16:48 -0400 Content-Disposition: inline In-Reply-To: <20080416095938.66d798e4.zaitcev@redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, Apr 16, 2008 at 09:59:38AM -0700, Pete Zaitcev wrote: > > > It seems to be the b44 driver doing a large huge order allocation. > > > That driver only asks for (1536 + 30 + 64) bytes, so I suppose part of > > > the problem is that SLAB is using an order 3 allocation to satisfy > > > that. > > The chip needs memory below 1G for DMA, perhaps low memory is getting > > exhausted. > The failure corresponds to memory pressure (from yum), but the real issue > is the lack of order 3 areas. We're talking a 32KB chunk! Why would anyone > need that much? Crazy! Here too, but with ipw2100 not b44 (-rc8.git7, which has otherwise been running quite happily for a few weeks) swapper: page allocation failure. order:3, mode:0x4020 Pid: 0, comm: swapper Not tainted 2.6.25-0.218.rc8.git7.fc9.i686 #1 [] __alloc_pages+0x2cf/0x2e6 [] __slab_alloc+0x19e/0x529 [] __kmalloc_track_caller+0x87/0xca [] ? ipw2100_alloc_skb+0x19/0x5c [ipw2100] [] ? ipw2100_alloc_skb+0x19/0x5c [ipw2100] [] __alloc_skb+0x49/0xf8 [] ipw2100_alloc_skb+0x19/0x5c [ipw2100] [] ipw2100_irq_tasklet+0x4b1/0x6e0 [ipw2100] [] tasklet_action+0x5e/0xb3 [] __do_softirq+0x79/0xe7 [] do_softirq+0x74/0xb5 [] ? handle_level_irq+0x0/0xbe [] irq_exit+0x38/0x6b [] do_IRQ+0xac/0xc4 [] common_interrupt+0x23/0x28 [] ? poll_idle+0x21/0x65 [] cpuidle_idle_call+0x62/0x92 [] ? cpuidle_idle_call+0x0/0x92 [] cpu_idle+0xbd/0xdd [] rest_init+0x49/0x4b ======================= Mem-info: DMA per-cpu: CPU 0: hi: 0, btch: 1 usd: 0 Normal per-cpu: CPU 0: hi: 186, btch: 31 usd: 152 Active:155693 inactive:24779 dirty:2760 writeback:447 unstable:0 free:2446 slab:6669 mapped:16577 pagetables:1509 bounce:0 DMA free:3012kB min:72kB low:88kB high:108kB active:6620kB inactive:952kB present:16256kB pages_scanned:0 all_unreclaimable? no lowmem_reserve[]: 0 745 745 745 Normal free:6772kB min:3452kB low:4312kB high:5176kB active:616152kB inactive:98164kB present:763400kB pages_scanned:260 all_unreclaimable? no lowmem_reserve[]: 0 0 0 0 DMA: 33*4kB 6*8kB 5*16kB 0*32kB 1*64kB 3*128kB 1*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB = 3012kB Normal: 1133*4kB 218*8kB 23*16kB 1*32kB 0*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 6804kB 75100 total pagecache pages Swap cache: add 369369, delete 344259, find 701011/737099 Free swap = 1314284kB Total swap = 1572856kB Free swap: 1314284kB 196448 pages of RAM 0 pages of HIGHMEM 2965 reserved pages 87587 pages shared 25110 pages swap cached 2760 pages dirty 447 pages writeback 16577 pages mapped 6669 pages slab 1509 pages pagetables swapper: page allocation failure. order:3, mode:0x4020 Pid: 0, comm: swapper Not tainted 2.6.25-0.218.rc8.git7.fc9.i686 #1 [] __alloc_pages+0x2cf/0x2e6 [] __slab_alloc+0x19e/0x529 [] __kmalloc_track_caller+0x87/0xca [] ? ipw2100_alloc_skb+0x19/0x5c [ipw2100] [] ? ipw2100_alloc_skb+0x19/0x5c [ipw2100] [] __alloc_skb+0x49/0xf8 [] ipw2100_alloc_skb+0x19/0x5c [ipw2100] [] ipw2100_irq_tasklet+0x4b1/0x6e0 [ipw2100] [] tasklet_action+0x5e/0xb3 [] __do_softirq+0x79/0xe7 [] do_softirq+0x74/0xb5 [] ? handle_level_irq+0x0/0xbe [] irq_exit+0x38/0x6b [] do_IRQ+0xac/0xc4 [] common_interrupt+0x23/0x28 [] ? poll_idle+0x21/0x65 [] cpuidle_idle_call+0x62/0x92 [] ? cpuidle_idle_call+0x0/0x92 [] cpu_idle+0xbd/0xdd [] rest_init+0x49/0x4b ======================= It seems to have been a pretty transient thing: messages-20080427:Apr 24 15:37:14 it-pc37 kernel: swapper: page allocation failure. order:3, mode:0x4020 messages-20080427:Apr 24 15:37:15 it-pc37 kernel: swapper: page allocation failure. order:3, mode:0x4020 messages-20080427:Apr 24 15:37:15 it-pc37 kernel: swapper: page allocation failure. order:3, mode:0x4020 messages-20080427:Apr 24 15:37:15 it-pc37 kernel: swapper: page allocation failure. order:3, mode:0x4020 messages-20080427:Apr 24 15:37:16 it-pc37 kernel: swapper: page allocation failure. order:3, mode:0x4020 messages-20080427:Apr 24 15:37:16 it-pc37 kernel: swapper: page allocation failure. order:3, mode:0x4020 messages-20080427:Apr 24 15:37:16 it-pc37 kernel: swapper: page allocation failure. order:3, mode:0x4020 messages-20080427:Apr 24 15:37:16 it-pc37 kernel: swapper: page allocation failure. order:3, mode:0x4020 messages-20080427:Apr 24 15:37:16 it-pc37 kernel: swapper: page allocation failure. order:3, mode:0x4020 messages-20080427:Apr 24 15:37:16 it-pc37 kernel: swapper: page allocation failure. order:3, mode:0x4020 messages-20080427:Apr 24 15:37:35 it-pc37 kernel: swapper: page allocation failure. order:3, mode:0x4020 messages-20080427:Apr 24 15:37:35 it-pc37 kernel: swapper: page allocation failure. order:3, mode:0x4020 messages-20080427:Apr 24 15:37:35 it-pc37 kernel: swapper: page allocation failure. order:3, mode:0x4020 messages-20080427:Apr 24 15:37:37 it-pc37 kernel: swapper: page allocation failure. order:3, mode:0x4020 (and nothing since that for a few days) -- Pekka Pietikainen