[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTikDXqQtOh4iM04Ek-CEwLHnZFrOiQ@mail.gmail.com>
Date: Mon, 9 May 2011 10:30:25 -0700
From: Jesse Gross <jesse@...ira.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: David Miller <davem@...emloft.net>,
Ben Greear <greearb@...delatech.com>,
Patrick McHardy <kaber@...sh.net>,
netdev <netdev@...r.kernel.org>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Michał Mirosław <mirq-linux@...e.qmqm.pl>
Subject: Re: [PATCH net-next-2.6] vlan: remove one synchronize_net() call
On Mon, May 9, 2011 at 7:40 AM, Eric Dumazet <eric.dumazet@...il.com> wrote:
> At VLAN dismantle phase, unregister_vlan_dev() makes one
> synchronize_net() call after vlan_group_set_device(grp, vlan_id, NULL).
>
> This call can be safely removed because we are calling
> unregister_netdevice_queue() to queue device for deletion, and this
> process needs at least one rcu grace period to complete.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
> Cc: Ben Greear <greearb@...delatech.com>
> Cc: Patrick McHardy <kaber@...sh.net>
> Cc: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
> Cc: Jesse Gross <jesse@...ira.com>
> Cc: Michał Mirosław <mirq-linux@...e.qmqm.pl>
Acked-by: Jesse Gross <jesse@...ira.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists