netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: mwdalton@google.com, dborkman@redhat.com, netdev@vger.kernel.org,
	ffusco@redhat.com, ycheng@google.com, ncardwell@google.com,
	digitaleric@google.com
Subject: Re: [PATCH v3 net-next] net: refactor sk_page_frag_refill()
Date: Fri, 18 Oct 2013 00:09:14 -0400 (EDT)	[thread overview]
Message-ID: <20131018.000914.512438003196100861.davem@davemloft.net> (raw)
In-Reply-To: <1382052427.3284.3.camel@edumazet-glaptop.roam.corp.google.com>

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Thu, 17 Oct 2013 16:27:07 -0700

> From: Eric Dumazet <edumazet@google.com>
> 
> While working on virtio_net new allocation strategy to increase
> payload/truesize ratio, we found that refactoring sk_page_frag_refill()
> was needed.
> 
> This patch splits sk_page_frag_refill() into two parts, adding
> skb_page_frag_refill() which can be used without a socket.
> 
> While we are at it, add a minimum frag size of 32 for
> sk_page_frag_refill()
> 
> Michael will either use netdev_alloc_frag() from softirq context,
> or skb_page_frag_refill() from process context in refill_work()
>  (GFP_KERNEL allocations)
> 
> Signed-off-by: Eric Dumazet <edumazet@google.com>

Applied, thanks Eric.

  reply	other threads:[~2013-10-18  4:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-03  7:56 [PATCH net-next] tcp: rcvbuf autotuning improvements Daniel Borkmann
2013-10-03 13:03 ` Eric Dumazet
2013-10-04  6:56   ` Michael Dalton
2013-10-13  0:25     ` [PATCH net-next] net: refactor sk_page_frag_refill() Eric Dumazet
2013-10-13  0:55       ` Eric Dumazet
2013-10-13  4:46       ` [PATCH v2 " Eric Dumazet
2013-10-17 19:46         ` David Miller
2013-10-17 23:13           ` Eric Dumazet
2013-10-17 23:27         ` [PATCH v3 " Eric Dumazet
2013-10-18  4:09           ` David Miller [this message]
2013-10-03 13:13 ` [PATCH net-next] tcp: rcvbuf autotuning improvements Eric Dumazet

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=20131018.000914.512438003196100861.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=dborkman@redhat.com \
    --cc=digitaleric@google.com \
    --cc=eric.dumazet@gmail.com \
    --cc=ffusco@redhat.com \
    --cc=mwdalton@google.com \
    --cc=ncardwell@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=ycheng@google.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).