Re: [ovs-dev] "Why perthread->mutex is needed?"

2021-07-09 Thread 贺鹏
Great, thanks! Ben Pfaff 于2021年6月29日周二 下午11:36写道: > > On Tue, Jun 29, 2021 at 09:49:39PM +0800, 贺鹏 wrote: > > I am investigating the OVS RCU code, and feel confused about the > > perthread->mutex, what's the usage of this mutex? it seems in the code > > there are only codes that inits and destroy

Re: [ovs-dev] "Why perthread->mutex is needed?"

2021-06-29 Thread Ben Pfaff
On Tue, Jun 29, 2021 at 09:49:39PM +0800, 贺鹏 wrote: > I am investigating the OVS RCU code, and feel confused about the > perthread->mutex, what's the usage of this mutex? it seems in the code > there are only codes that inits and destroys the mutex, but there is > no code that locks and unlocks it.

[ovs-dev] "Why perthread->mutex is needed?"

2021-06-29 Thread 贺鹏
Hi,Ben, I am investigating the OVS RCU code, and feel confused about the perthread->mutex, what's the usage of this mutex? it seems in the code there are only codes that inits and destroys the mutex, but there is no code that locks and unlocks it. Thanks. -- hepeng _