netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: jbacik@fb.com, netdev@vger.kernel.org
Subject: Re: [PATCH net-next] net: remove useless pfmemalloc setting
Date: Thu, 02 Feb 2017 23:03:24 -0500 (EST)	[thread overview]
Message-ID: <20170202.230324.936684079633234077.davem@davemloft.net> (raw)
In-Reply-To: <1486001603.13103.10.camel@edumazet-glaptop3.roam.corp.google.com>

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Wed, 01 Feb 2017 18:13:23 -0800

> From: Eric Dumazet <edumazet@google.com>
> 
> When __alloc_skb() allocates an skb from fast clone cache,
> setting pfmemalloc on the clone is not needed.
> 
> Clone will be properly initialized later at skb_clone() time,
> including pfmemalloc field, as it is included in the
> headers_start/headers_end section which is fully copied.
> 
> Signed-off-by: Eric Dumazet <edumazet@google.com>

Applied.

  reply	other threads:[~2017-02-03  4:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-01 21:04 [PATCH net-next] loopback: clear pfmemalloc on outgoing skb's Josef Bacik
2017-02-01 23:38 ` Eric Dumazet
2017-02-01 23:57   ` Eric Dumazet
2017-02-02  2:13     ` [PATCH net-next] net: remove useless pfmemalloc setting Eric Dumazet
2017-02-03  4:03       ` David Miller [this message]
2017-02-02  2:46   ` [PATCH net-next] loopback: clear pfmemalloc on outgoing skb's Eric Dumazet
2017-02-02 15:56   ` Josef Bacik
2017-02-02 17:06     ` Eric Dumazet
2017-02-02 20:49       ` Josef Bacik
2017-02-03  4:40 ` [PATCH net-next] tcp: clear pfmemalloc on outgoing skb Eric Dumazet
2017-02-03 21:24   ` David Miller

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=20170202.230324.936684079633234077.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=jbacik@fb.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).