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

贺鹏 xnhp0320 at gmail.com
Fri Jul 9 16:02:40 UTC 2021


Great, thanks!

Ben Pfaff <blp at ovn.org> 于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 destroys the mutex, but there is
> > no code that locks and unlocks it.
>
> Thanks for spotting that.  I sent out a patch to remove it:
> https://mail.openvswitch.org/pipermail/ovs-dev/2021-June/384582.html



-- 
hepeng


More information about the dev mailing list