Re: [PATCH] locking/rwlocks: do not starve writers
From: Eric Dumazet
Date: Fri Jun 17 2022 - 15:10:22 EST
On Fri, Jun 17, 2022 at 9:04 PM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> On Fri, Jun 17, 2022 at 07:45:14PM +0200, Eric Dumazet wrote:
>
> > Were rwlocks always unfair, and we have been lucky ?
>
> Yes.
So I wonder why we replaced eventpoll spinlock with an rwlock.
Writing a repro is probably more difficult for eventpoll though.
We definitely had production issues after commit a218cc491420