mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: wireless <linux-wireless@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: Regression since 2.6.30-rc1 - Page allocation failures
Date: Wed, 29 Apr 2009 23:09:32 +0200	[thread overview]
Message-ID: <1241039372.4547.3.camel@johannes.local> (raw)
In-Reply-To: <49F8C03D.6040909@lwfinger.net> (sfid-20090429_230225_847074_E5413886)

[-- Attachment #1: Type: text/plain, Size: 1371 bytes --]

Hi Larry,

> I have been getting a number of page allocation failures of late on my x86_64
> system. The user-space app that hits the problem varies; however, there is
> always a network connection. In addition, the failure is always of order 1. For
> the instance reported below, git was updating a tree mounted on an NFS volume.
> The problem started with 2.6.30-rc1, but persists with -rc3.
> 
> I have seen the problem with the b43 and p54usb wireless drivers. The user-space
> apps include cc1, git components, and firefox; thus not all involve nfs.
> 
> I will be happy to supply any further information.
> 
> kernel: git: page allocation failure. order:1, mode:0x4020

> kernel:  [<ffffffffa0220711>] ieee80211_skb_resize+0x91/0xc7 [mac80211]
...
> kernel: 427298 pages non-shared

It's a little curious that you have order:1 allocations here. I think
below the printout you showed you would see a line like
	phy0: failed to reallocate TX buffer
Is that there? Could you track down that message in the code (around
net/mac80211/tx.c line 1368) and add to it the following:

	"%d, %d, need %d, %d", skb->data_len, skb->len, head_need, tail_need

and then try to reproduce this problem please? With both p54 and b43 you
should only have packets far smaller than 4096 bytes so no order 1
allocation should be needed, afaict.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2009-04-29 21:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29 21:01 Larry Finger
2009-04-29 21:09 ` Johannes Berg [this message]
2009-04-29 21:27   ` Johannes Berg
2009-04-29 23:22     ` Larry Finger
2009-05-15 21:49       ` Rafael J. Wysocki
2009-05-15 22:16         ` Larry Finger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1241039372.4547.3.camel@johannes.local \
    --to=johannes@sipsolutions.net \
    --cc=Larry.Finger@lwfinger.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®