[PATCH] um: vector: Replace locks guarding queue depth with atomics
Johannes Berg
johannes at sipsolutions.net
Thu Jul 4 02:55:36 PDT 2024
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".
johannes
More information about the linux-um
mailing list