On Thu, 2024-07-04 at 11:55 +0200, 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".
Or just split into tx and rx stats, and use the correct lock separately? johannes