public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: kaber@trash.net, netdev@vger.kernel.org, greearb@candelatech.com
Subject: Re: [PATCH net-next-2.6] macvlan: remove one synchronize_rcu() call
Date: Fri, 20 May 2011 00:33:28 -0400 (EDT)	[thread overview]
Message-ID: <20110520.003328.540815311526933498.davem@davemloft.net> (raw)
In-Reply-To: <1305843856.3156.36.camel@edumazet-laptop>

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Fri, 20 May 2011 00:24:16 +0200

> When one macvlan device is dismantled, we can avoid one
> synchronize_rcu() call done after deletion from hash list, since caller
> will perform a synchronize_net() call after its ndo_stop() call.
> 
> Add a new netdev->dismantle field to signal this dismantle intent.
> 
> Reduces RTNL hold time.
> 
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>

Applied.

      parent reply	other threads:[~2011-05-20  4:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-19 22:24 [PATCH net-next-2.6] macvlan: remove one synchronize_rcu() call Eric Dumazet
2011-05-20  0:18 ` Ben Greear
2011-05-20  4:28   ` Eric Dumazet
2011-05-20  4:33 ` 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=20110520.003328.540815311526933498.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=greearb@candelatech.com \
    --cc=kaber@trash.net \
    --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