Messages in this thread | | | Date | Wed, 10 Apr 2019 10:22:54 -0700 | From | Davidlohr Bueso <> | Subject | Re: [PATCH-tip v2 06/12] locking/rwsem: Wake up almost all readers in wait queue |
| |
On Wed, 10 Apr 2019, Waiman Long wrote: >There are 2 major reasons why there is a limit. > >1) It will be unfair to the task that needs to spend so much of its own >CPU time to wake up too many readers.
This has never been a problem before.
>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.
Thanks, Davidlohr
| |