linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felix Fietkau <nbd@openwrt.org>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org, lrodriguez@atheros.com,
	Jouni Malinen <jouni.malinen@atheros.com>
Subject: Re: [PATCH] ath9k: use split rx buffers to get rid of order-1 skb allocations
Date: Thu, 27 Jan 2011 22:58:54 +0100	[thread overview]
Message-ID: <4D41EA9E.6040907@openwrt.org> (raw)
In-Reply-To: <20110127213105.GC2271@tuxdriver.com>

On 2011-01-27 10:31 PM, John W. Linville wrote:
> On Wed, Jan 26, 2011 at 06:23:27PM +0100, Felix Fietkau wrote:
>> With this change, less CPU time is spent trying to look for consecutive
>> pages for rx skbs. This also reduces the socket memory required for IP/UDP
>> reassembly.
>> Only two buffers per frame are supported. Frames spanning more buffers
>> will be dropped, but the buffer size is enough to handle the required
>> AMSDU size.
>> 
>> Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
>> Signed-off-by: Felix Fietkau <nbd@openwrt.org>
> 
> Will this address https://bugzilla.kernel.org/show_bug.cgi?id=26652 ?
I think so. Memory allocation will fail less frequently and it reduces
RAM usage per device by 2 MB.

- Felix

      reply	other threads:[~2011-01-27 21:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-26 17:23 [PATCH] ath9k: use split rx buffers to get rid of order-1 skb allocations Felix Fietkau
2011-01-27 21:31 ` John W. Linville
2011-01-27 21:58   ` Felix Fietkau [this message]

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=4D41EA9E.6040907@openwrt.org \
    --to=nbd@openwrt.org \
    --cc=jouni.malinen@atheros.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=lrodriguez@atheros.com \
    /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;
as well as URLs for NNTP newsgroup(s).