Re: [RFC PATCH 3/4] coroutine/mutex: Store the coroutine in the CoWaitRecord only once

2021-03-09 Thread Philippe Mathieu-Daudé
On 3/9/21 11:21 AM, David Edmondson wrote: > When taking the slow path for mutex acquisition, set the coroutine > value in the CoWaitRecord in push_waiter(), rather than both there and > in the caller. > > Signed-off-by: David Edmondson > --- > util/qemu-coroutine-lock.c | 1 - > 1 file changed,

Re: [RFC PATCH 3/4] coroutine/mutex: Store the coroutine in the CoWaitRecord only once

2021-03-09 Thread Paolo Bonzini
On 09/03/21 11:21, David Edmondson wrote: When taking the slow path for mutex acquisition, set the coroutine value in the CoWaitRecord in push_waiter(), rather than both there and in the caller. Signed-off-by: David Edmondson --- util/qemu-coroutine-lock.c | 1 - 1 file changed, 1 deletion(-

[RFC PATCH 3/4] coroutine/mutex: Store the coroutine in the CoWaitRecord only once

2021-03-09 Thread David Edmondson
When taking the slow path for mutex acquisition, set the coroutine value in the CoWaitRecord in push_waiter(), rather than both there and in the caller. Signed-off-by: David Edmondson --- util/qemu-coroutine-lock.c | 1 - 1 file changed, 1 deletion(-) diff --git a/util/qemu-coroutine-lock.c b/u