coroutine: Rename qemu_coroutine_inc/dec_pool_size()
commit98e3ab35054b946f7c2aba5408822532b0920b53
authorKevin Wolf <kwolf@redhat.com>
Tue, 10 May 2022 15:10:19 +0000 (10 17:10 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 May 2022 10:20:45 +0000 (12 12:20 +0200)
treeef9187d8a24c5fe4d5800388626d32288c01a370
parentec11dc41eec5142b4776db1296972c6323ba5847
coroutine: Rename qemu_coroutine_inc/dec_pool_size()

It's true that these functions currently affect the batch size in which
coroutines are reused (i.e. moved from the global release pool to the
allocation pool of a specific thread), but this is a bug and will be
fixed in a separate patch.

In fact, the comment in the header file already just promises that it
influences the pool size, so reflect this in the name of the functions.
As a nice side effect, the shorter function name makes some line
wrapping unnecessary.

Cc: qemu-stable@nongnu.org
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20220510151020.105528-2-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/virtio-blk.c
include/qemu/coroutine.h
util/qemu-coroutine.c