Netdev List
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next-2.6] net: speedup netdev_set_master()
Date: Fri, 19 Mar 2010 06:28:11 +0100	[thread overview]
Message-ID: <1268976491.2894.221.camel@edumazet-laptop> (raw)
In-Reply-To: <20100318.222226.191403090.davem@davemloft.net>

Le jeudi 18 mars 2010 à 22:22 -0700, David Miller a écrit :
> From: Eric Dumazet <eric.dumazet@gmail.com>
> Date: Fri, 19 Mar 2010 00:37:40 +0100
> 
> > We currently force a synchronize_net() in netdev_set_master()
> > 
> > This seems necessary only when a slave had a master and we dismantle it.
> > 
> > In the other case ("ifenslave bond0 ethO"), we dont need this long
> > delay.
> > 
> > Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
> 
> Depends upon the net-2.6 race fix?
> 
> Thanks for telling me :-/

I believe it's not related. It's net-next-2.6 material, for sure :)

But yes, I discovered the race fix while studying netdev_set_master()

Thanks David



  reply	other threads:[~2010-03-19  5:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-18 23:37 [PATCH net-next-2.6] net: speedup netdev_set_master() Eric Dumazet
2010-03-19  5:22 ` David Miller
2010-03-19  5:28   ` Eric Dumazet [this message]
2010-03-19  5:36     ` David Miller
2010-03-19  5:45       ` Eric Dumazet
2010-03-19  6:11         ` David Miller
2010-03-22  1:37 ` 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=1268976491.2894.221.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.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