[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130402.141911.1660321473957546020.davem@davemloft.net>
Date: Tue, 02 Apr 2013 14:19:11 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: vfalico@...hat.com, netdev@...r.kernel.org,
stephen@...workplumber.org, jiri@...nulli.us
Subject: Re: [PATCH net-next] bridge: remove a redundant synchronize_net()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 02 Apr 2013 09:27:57 -0700
> On Tue, 2013-04-02 at 12:12 -0400, David Miller wrote:
>
>> Note that we have a few spots now that do two synchronize_net()'s per
>> opertaion, such as team port removal, and openvswitch has such a path
>> as well. They all are of the form:
>>
>> netdev_rx_handler_unregister()
>> ...
>> lots of other stuff
>> ...
>> synchronize_net();
>>
>> So might be harder to factor back out than this br_if.c case.
>>
>
> Strange, I do see call_rcu() in openvswitch, not a synchronize_{net|
> rcu}(). Probably OK to leave as is, as it's not a big deal.
My bad, I misread the code.
> I'll let Jiri handle the team driver change, as its not clear what
> synchronize_rcu() call in team_port_del() is protecting
Ok.
--
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