[ovs-git] [openvswitch/ovs] 618f44: netdev-dpdk: Put cuse thread into quiescent state.

GitHub noreply at github.com
Fri Mar 27 18:21:56 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 618f44f7a406d6c3e90110420a7fd183d40f1bff
      https://github.com/openvswitch/ovs/commit/618f44f7a406d6c3e90110420a7fd183d40f1bff
  Author: Kevin Traynor <kevin.traynor at intel.com>
  Date:   2015-03-27 (Fri, 27 Mar 2015)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Put cuse thread into quiescent state.

ovsrcu_synchronize() is used when setting virtio_dev to NULL.
This results in an ovsrcu_quiesce_end() call which means the
cuse thread may not go into quiescent state again for an
indefinite time. Add an ovsrcu_quiesce_start() call to prevent
this.

Signed-off-by: Kevin Traynor <kevin.traynor at intel.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>




More information about the git mailing list