Re: [PATCH v4 next 0/9] locking/osq_lock: Optimisations to osq_lock code
From: David Laight
Date: Fri Sep 11 2026 - 06:08:44 EST
On Thu, 10 Sep 2026 11:31:19 +0000
Haakon Bugge <haakon.bugge@xxxxxxxxxx> wrote:
...
> What concerns me is that I am unable to observe this bug testing
> mutexes or rwlocks.
That might be because there is only one osq_lock so you always get
contention - whereas the other cases have separate locks.
You do still need to hit the same array element for it to matter.
I'm not sure is makes much sense to have a lot of locks/counters.
David