Re: [PATCH 3/3] locking/rwsem: Scan the wait_list for readers only once

2016-08-08 Thread Davidlohr Bueso
On Sat, 06 Aug 2016, Ingo Molnar wrote: Also, what are 'will it scale microbenchmarks'? https://github.com/antonblanchard/will-it-scale Thanks, Davidlohr

Re: [PATCH 3/3] locking/rwsem: Scan the wait_list for readers only once

2016-08-06 Thread Ingo Molnar
* Davidlohr Bueso wrote: > When wanting to wakeup readers, __rwsem_mark_wakeup() currently > iterates the wait_list twice while looking to wakeup the first N > queued reader-tasks. While this can be quite inefficient, it was > there such that a awoken reader would be first and foremost > acknowl