|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH experiment 03/16] coroutine: small code cleanup in qemu_co_rwlock_wrlock |
Date: | Mon, 14 Mar 2022 14:32:01 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 |
On 14/3/22 10:31, Paolo Bonzini wrote:
qemu_co_rwlock_wrlock stores the current coroutine in a loc variable, use it instead of calling qemu_coroutine_self() again. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- util/qemu-coroutine-lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[Prev in Thread] | Current Thread | [Next in Thread] |