Re: [ovs-dev] [PATCH v2 6/8] ovs-thread: Quiesce when joining pthreads

2021-06-30 Thread Gaƫtan Rivet
On Wed, Jun 30, 2021, at 11:09, Ilya Maximets wrote: > On 5/20/21 3:35 PM, Gaetan Rivet wrote: > > Joining pthreads makes the caller quiescent. It should register as such, > > as joined threads may wait on an RCU callback executing before quitting, > > deadlocking the caller. > > Hi, Gaetan. > >

Re: [ovs-dev] [PATCH v2 6/8] ovs-thread: Quiesce when joining pthreads

2021-06-30 Thread Ilya Maximets
On 5/20/21 3:35 PM, Gaetan Rivet wrote: > Joining pthreads makes the caller quiescent. It should register as such, > as joined threads may wait on an RCU callback executing before quitting, > deadlocking the caller. Hi, Gaetan. This patch doesn't look right to me. The problem is that users of

[ovs-dev] [PATCH v2 6/8] ovs-thread: Quiesce when joining pthreads

2021-05-20 Thread Gaetan Rivet
Joining pthreads makes the caller quiescent. It should register as such, as joined threads may wait on an RCU callback executing before quitting, deadlocking the caller. Signed-off-by: Gaetan Rivet --- lib/ovs-thread.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-)