From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754519Ab0IEUZZ (ORCPT ); Sun, 5 Sep 2010 16:25:25 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:60884 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751334Ab0IEUZX (ORCPT ); Sun, 5 Sep 2010 16:25:23 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=OrszHQf4fhLY0POEjsASlzcOaNtpBEL9T06MY3qrEMujoNDRroZ3XFbnp76Q9CQDlF rxQgUiMBJZjhaGlM8A2XO1H3yDXafWoVByu1IeBqlLkDS8Tq5peztFVVzOwYYcd8CJ8O ag2haf7UPYigMSiMIzxY4/O3vr8zwpZ2cDRpE= Subject: Re: [2.6.35-rc1] page alloc failure order:1, mode:0x4020 From: Eric Dumazet To: Nikhil Sethi =?UTF-8?Q?=28=E0=A4=A8=E0=A4=BF=E0=A4=96=E0=A4=BF=E0=A4=B2_?= =?UTF-8?Q?=E0=A4=B8=E0=A5=87=E0=A4=A0=E0=A5=80=29?= Cc: Michael Guntsche , linux-kernel , netdev In-Reply-To: References: <20100604092025.GA96690@trillian.comsick.at> <1275656014.2482.169.camel@edumazet-laptop> <20100604161644.GA98048@trillian.local> <20100606095640.GA4436@trillian.comsick.at> <1275820945.5238.987.camel@edumazet-laptop> <1282769089.2681.159.camel@edumazet-laptop> Content-Type: text/plain; charset="UTF-8" Date: Sun, 05 Sep 2010 22:25:04 +0200 Message-ID: <1283718304.3402.370.camel@edumazet-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le dimanche 05 septembre 2010 à 08:51 -0700, Nikhil Sethi (निखिल सेठी) a écrit : > This came back. Here is the dmesg output. It might be the problem only > happens if I have wmm_enabled=1 in my hostapd.conf. That is the only > thing that I changed yesterday, and today I saw these messages in my > logs. I will try to conform this. > > > I am running 2.6.35.4 with this patch: > > > *** 225,234 **** > int error = 0, i; > u32 size; > > ! > ! common->rx_bufsize = roundup(IEEE80211_MAX_MPDU_LEN + > ! ah->caps.rx_status_len, > ! min(common->cachelsz, (u16)64)); > > ath9k_hw_set_rx_bufsize(ah, common->rx_bufsize - > ah->caps.rx_status_len); > --- 225,234 ---- > int error = 0, i; > u32 size; > > ! size = roundup(IEEE80211_MAX_MPDU_LEN + ah->caps.rx_status_len, > ! min(common->cachelsz, (u16)64)); > ! common->rx_bufsize = min_t(u32, size, > ! SKB_MAX_ORDER(NET_SKB_PAD + > common->cachelsz, 0)); > > ath9k_hw_set_rx_bufsize(ah, common->rx_bufsize - > ah->caps.rx_status_len); > > > dmesg output: > > > skbuff alloc of size 3872 failed > ps: page allocation failure. order:1, mode:0x4020 > Pid: 16022, comm: ps Tainted: G W 2.6.35.4 #1 > Call Trace: > [] ? __alloc_pages_nodemask+0x3e6/0x513 > [] ? slob_new_pages+0xc/0x23 Unfortunately you use SLOB, and it seems to ask order-1 pages, while we want less than a page. Please try SLAB or SLUB > [] ? __kmalloc_node+0x39/0x72 > [] ? __alloc_skb+0x5c/0x105 > [] ? ath_rxbuf_alloc+0x1a/0x78 [ath] > [] ? ath_rx_tasklet+0x2fb/0x808 [ath9k] > [] ? scsi_next_command+0x27/0x34 > [] ? ath9k_tasklet+0xcc/0x107 [ath9k] > [] ? tasklet_action+0x5f/0x65 > [] ? __do_softirq+0x60/0xc6 > [] ? do_softirq+0x2e/0x30 > [] ? irq_exit+0x53/0x55 > [] ? do_IRQ+0x3a/0x72 > [] ? common_interrupt+0x29/0x30 > [] ? __remove_mapping+0x4b/0x8d > [] ? try_to_release_page+0x20/0x30 > [] ? shrink_page_list+0x2b8/0x46c > [] ? sd_prep_fn+0x1a5/0x92b > [] ? shrink_inactive_list+0x281/0x552 > [] ? determine_dirtyable_memory+0xc/0x12 > [] ? get_dirty_limits+0x18/0x2b0 > [] ? ata_bmdma_port_intr+0x21/0xcd > [] ? shrink_zone+0x247/0x38f > [] ? __do_softirq+0x75/0xc6 > [] ? shrink_slab+0x13c/0x186 > [] ? try_to_free_pages+0x1ab/0x2be > [] ? try_to_free_pages+0x1ab/0x2be > [] ? __alloc_pages_nodemask+0x2b7/0x513 > [] ? slob_new_pages+0xc/0x23 > [] ? kmem_cache_alloc_node+0x23/0x53 > [] ? getname+0x19/0xae > [] ? user_path_at+0x11/0x64 > [] ? access_process_vm+0xe0/0x1e7 > [] ? access_process_vm+0x19f/0x1e7 > [] ? vfs_fstatat+0x25/0x63 > [] ? vfs_stat+0x10/0x12 > [] ? sys_stat64+0xf/0x23 > [] ? fput+0x88/0x191 > [] ? dput+0x92/0xd4 > [] ? fput+0x11c/0x191 > [] ? mntput_no_expire+0x13/0x60 > [] ? filp_close+0x3b/0x54 > [] ? sys_close+0x52/0x72 > [] ? syscall_call+0x7/0xb > [] ? unix_dgram_sendmsg+0x258/0x3c1 > Mem-Info: