]> git.proxmox.com Git - qemu.git/commit
coroutines: Use one global bottom half for CoQueue
authorKevin Wolf <kwolf@redhat.com>
Wed, 13 Jul 2011 13:42:52 +0000 (15:42 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 2 Aug 2011 13:53:41 +0000 (15:53 +0200)
commite680cfa7e20f5049c475ac94f998a79c9997b48d
tree27f201c416c4c93de25e00726040c5b017648f6f
parent384acbf46b70edf0d2c1648aa1a92a90bcf7057d
coroutines: Use one global bottom half for CoQueue

Now that AsyncContexts don't exist any more, we can use one global bottom half
for restarting coroutines instead of allocating a new one every time (before
removing AsyncContexts, the problem with having a global BH was that it had to
belong to a single AsyncContexts and wouldn't be executed in a different one -
which leads to deadlocks)

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-coroutine-lock.c