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

Ben Pfaff blp at ovn.org
Tue Jun 29 15:36:42 UTC 2021


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


More information about the dev mailing list