Re: [ovs-dev] [PATCH v1 5/9] conntrack: Inverse conn and ct lock precedence

2021-02-23 Thread William Tu
On Wed, Feb 17, 2021 at 8:34 AM Gaetan Rivet wrote: > > The lock priority order is for the global 'ct_lock' to be taken first > and then 'conn->lock'. This is an issue, as multiple operations on > connections are thus blocked between threads contending on the > global 'ct_lock'. > > This was

[ovs-dev] [PATCH v1 5/9] conntrack: Inverse conn and ct lock precedence

2021-02-17 Thread Gaetan Rivet
The lock priority order is for the global 'ct_lock' to be taken first and then 'conn->lock'. This is an issue, as multiple operations on connections are thus blocked between threads contending on the global 'ct_lock'. This was previously necessary due to how the expiration lists, timeout policies