Re: [Qemu-devel] [PATCH 08/10] coroutine: process the coroutines woken by child when child yield

2012-04-05 Thread Kevin Wolf
Am 03.04.2012 10:38, schrieb Lai Jiangshan: > If the child wake up someone, process them. > > It would the child complete its works if woken coroutine release the locks > that the child needs. > > It may help for the cache, if the child wake up some someone, they are > probably accessing the same

[Qemu-devel] [PATCH 08/10] coroutine: process the coroutines woken by child when child yield

2012-04-03 Thread Lai Jiangshan
If the child wake up someone, process them. It would the child complete its works if woken coroutine release the locks that the child needs. It may help for the cache, if the child wake up some someone, they are probably accessing the same data. Signed-off-by: Lai Jiangshan --- qemu-coroutine.