Re: [PATCH] locking/rwlocks: do not starve writers

From: Peter Zijlstra
Date: Fri Jun 17 2022 - 11:57:01 EST


On Fri, Jun 17, 2022 at 05:24:58PM +0200, Eric Dumazet wrote:

> If only tasklist_lock is problematic and needs the unfair variant,
> then changing a few read_lock() for tasklist_lock will be less
> invasive than ~1000 read_lock() elsewhere....

This is unknown. tasklist_lock was the obvious one, there might be more.
Lockdep should be able to tell you.