Re: [PATCH-tip v2 06/12] locking/rwsem: Wake up almost all readers in wait queue

From: Davidlohr Bueso
Date: Wed Apr 10 2019 - 13:31:53 EST


On Wed, 10 Apr 2019, Bueso wrote:

On Wed, 10 Apr 2019, Waiman Long wrote:
2) I want to avoid the extreme case that there are more than 32k readers
in the wait queue and make the count overflow.

But in this case the readers are already on the queue.

Never mind this.

But the limit could still be enlarged just to prevent overflows in the case
where there are only readers.