[ovs-git] [openvswitch/ovs] 8909c5: datapath-windows: Removed memory barrier and maste...

GitHub noreply at github.com
Wed May 27 19:46:39 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 8909c56c467881236b655e5c4f4c5caa63178cd5
      https://github.com/openvswitch/ovs/commit/8909c56c467881236b655e5c4f4c5caa63178cd5
  Author: Sorin Vinturis <svinturis at cloudbasesolutions.com>
  Date:   2015-05-27 (Wed, 27 May 2015)

  Changed paths:
    M datapath-windows/ovsext/Datapath.c
    M datapath-windows/ovsext/Datapath.h

  Log Message:
  -----------
  datapath-windows: Removed memory barrier and master lock

There is no need to enforce Netlink serialization on transactions
sent from userspace. The access to the driver's shared resources
is synchronized anyway. Thus I have removed the master lock.

I also removed the memory barrier from filter dispatch routine. A
memory barrier is already in place in OvsReleaseSwitchContext
function, due to the use of InterlockedCompareExchange function.

Signed-off-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Acked-by: Eitan Eliahu <eliahue at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list