[ovs-git] Open vSwitch: datapath: Use RCU callback when detaching netdevices. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Nov 28 21:58:30 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  e65361d6b6fa0c3fb383b37cd259a24846ded7d5 (commit)
      from  3f78c3ccb5d024c7e2e7eae58be03f4960b996c8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e65361d6b6fa0c3fb383b37cd259a24846ded7d5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e65361d6b6fa0c3fb383b37cd259a24846ded7d5
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Use RCU callback when detaching netdevices.
		
Currently, each time a device is detached from an OVS datapath
we call synchronize RCU before freeing associated data structures.
However, if a bridge is deleted (which detaches all ports) when
many devices are connected then there can be a long delay.  This
switches to use call_rcu() to group the cost together.

Reported-by: Justin Pettit <jpettit at nicira.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 datapath/vport-netdev.c |   14 ++++++++++----
 datapath/vport-netdev.h |    3 +++
 2 files changed, 13 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list