From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: netdev@vger.kernel.org, krisman@linux.vnet.ibm.com,
Yuval.Mintz@cavium.com, ariel.elior@cavium.com
Subject: Re: [PATCH net-next] bnx2x: avoid two atomic ops per page on x86
Date: Mon, 23 Jan 2017 11:18:03 -0500 (EST) [thread overview]
Message-ID: <20170123.111803.192246884167319287.davem@davemloft.net> (raw)
In-Reply-To: <1484929534.16328.134.camel@edumazet-glaptop3.roam.corp.google.com>
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Fri, 20 Jan 2017 08:25:34 -0800
> From: Eric Dumazet <edumazet@google.com>
>
> Commit 4cace675d687 ("bnx2x: Alloc 4k fragment for each rx ring buffer
> element") added extra put_page() and get_page() calls on arches where
> PAGE_SIZE=4K like x86
>
> Reorder things to avoid this overhead.
>
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> Cc: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
> Cc: Yuval Mintz <Yuval.Mintz@cavium.com>
> Cc: Ariel Elior <ariel.elior@cavium.com>
Applied, thanks.
prev parent reply other threads:[~2017-01-23 16:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-20 16:25 [PATCH net-next] bnx2x: avoid two atomic ops per page on x86 Eric Dumazet
2017-01-23 16:18 ` David Miller [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=20170123.111803.192246884167319287.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Yuval.Mintz@cavium.com \
--cc=ariel.elior@cavium.com \
--cc=eric.dumazet@gmail.com \
--cc=krisman@linux.vnet.ibm.com \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).