Re: [External] Re: [PATCH v3 2/2] coroutine: take exactly one batch from global pool at a time

2021-03-10 Thread 王洪浩
Will do, thanks! Stefan Hajnoczi 于2021年3月8日周一 下午6:27写道: > > On Fri, Oct 16, 2020 at 07:26:40PM +0800, wanghonghao wrote: > > This patch replace the global coroutine queue with a lock-free stack of > > which > > the elements are coroutine queues. Threads can put coroutine queues into the > > stac

Re: [PATCH v3 2/2] coroutine: take exactly one batch from global pool at a time

2021-03-08 Thread Stefan Hajnoczi
On Fri, Oct 16, 2020 at 07:26:40PM +0800, wanghonghao wrote: > This patch replace the global coroutine queue with a lock-free stack of which > the elements are coroutine queues. Threads can put coroutine queues into the > stack or take queues from it and each coroutine queue has exactly > POOL_BATC