On 17.03.21 19:00, Paolo Bonzini wrote:
This is a resubmit of David Edmondson's series at https://patchew.org/QEMU/20210309144015.557477-1-david.edmond...@oracle.com/. After closer analysis on IRC, the CoRwlock's attempt to ensure fairness turned out to be flawed. Therefore, this series reimplements CoRwlock without using a CoQueue. Tracking whether each queued coroutine is a reader/writer makes it possible to never wake a writer when only readers should be allowed and vice versa.
I’m not a maintainer for patches 3 through 6. Stefan is, though. So Stefan, can you take this series with an R-b from me on 1 and 2?
Max