On 04/07/2024 10:55, Johannes Berg wrote:
On Thu, 2024-07-04 at 10:52 +0100, Anton Ivanov wrote:

There is an extra issue there - stats. I need to double-check the locking when
they are being fetched.

Same story - these need atomics. Otherwise we can potentially get the same ABBA
lock issue when they are being fetched.


Email overlap ...

I don't think so? If no other path now uses _both_ locks, the stats path
can, it'll just be "AB" never "BA".

Good point.


johannes



--
Anton R. Ivanov
Cambridgegreys Limited. Registered in England. Company Number 10273661
https://www.cambridgegreys.com/

Reply via email to