Re: [ovs-dev] [PATCH] netdev-dpdk: Put cuse thread into quiescent state.

2015-03-27 Thread Traynor, Kevin
> I changed this part of original patch so that there is no need for the > fuse thread enter into quiescent state. But I think it is unavoidable > without changing RCU implementation. So we need this patch. If you add > comments and resend I will apply it. Thanks. I will resend. __

Re: [ovs-dev] [PATCH] netdev-dpdk: Put cuse thread into quiescent state.

2015-03-26 Thread Pravin Shelar
On Thu, Mar 26, 2015 at 4:11 AM, Traynor, Kevin wrote: > >> -Original Message- >> From: Ben Pfaff [mailto:b...@nicira.com] >> Sent: Thursday, March 26, 2015 4:28 AM >> To: Traynor, Kevin >> Cc: dev@openvswitch.org >> Subject: Re: [ovs-dev] [P

Re: [ovs-dev] [PATCH] netdev-dpdk: Put cuse thread into quiescent state.

2015-03-26 Thread Traynor, Kevin
> -Original Message- > From: Ben Pfaff [mailto:b...@nicira.com] > Sent: Thursday, March 26, 2015 4:28 AM > To: Traynor, Kevin > Cc: dev@openvswitch.org > Subject: Re: [ovs-dev] [PATCH] netdev-dpdk: Put cuse thread into quiescent > state. > > On Wed, Mar 2

Re: [ovs-dev] [PATCH] netdev-dpdk: Put cuse thread into quiescent state.

2015-03-25 Thread Ben Pfaff
On Wed, Mar 25, 2015 at 05:43:06PM +, Kevin Traynor wrote: > As ovsrcu_synchronize() is used when setting virtio_dev to NULL, > ovsrcu_quiesce_start() must be called before destroy_device() returns. > Otherwise there will be warnings about the thread not quiescing. > Use of ovs_thread_create()

[ovs-dev] [PATCH] netdev-dpdk: Put cuse thread into quiescent state.

2015-03-25 Thread Kevin Traynor
As ovsrcu_synchronize() is used when setting virtio_dev to NULL, ovsrcu_quiesce_start() must be called before destroy_device() returns. Otherwise there will be warnings about the thread not quiescing. Use of ovs_thread_create() instead of pthread_create() is optional but as we are now setting quies