[ovs-git] [openvswitch/ovs] 3ed424: datapath-windows: Removed gOvsCtrlLock global spin...

GitHub noreply at github.com
Thu Apr 23 21:49:45 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 3ed424e5e5d614e08a58ffe700bbe88ed0514a7b
      https://github.com/openvswitch/ovs/commit/3ed424e5e5d614e08a58ffe700bbe88ed0514a7b
  Author: Sorin Vinturis <svinturis at cloudbasesolutions.com>
  Date:   2015-04-23 (Thu, 23 Apr 2015)

  Changed paths:
    M datapath-windows/ovsext/Datapath.c
    M datapath-windows/ovsext/Flow.c
    M datapath-windows/ovsext/Switch.c
    M datapath-windows/ovsext/User.c
    M datapath-windows/ovsext/Vport.c

  Log Message:
  -----------
  datapath-windows: Removed gOvsCtrlLock global spinlock

There is no need to use gOvsCtrlLock spinlock to guard the switch
context, as there is now the switch context's reference count used
for this purpose.

Now the gOvsCtrlLock spinlock guards only one shared resource, the
OVS_OPEN_INSTANCE global instance array.

Signed-off-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Acked-by: Nithin Raju <nithin at vmware.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>




More information about the git mailing list