[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 3/6] coroutine-lock: Store the coroutine in the CoWaitReco
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v6 3/6] coroutine-lock: Store the coroutine in the CoWaitRecord only once |
Date: |
Tue, 30 Mar 2021 16:29:47 +0100 |
On Thu, Mar 25, 2021 at 12:29:38PM +0100, Paolo Bonzini wrote:
> From: David Edmondson <david.edmondson@oracle.com>
>
> 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.
>
> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Signed-off-by: David Edmondson <david.edmondson@oracle.com>
> Message-Id: <20210309144015.557477-4-david.edmondson@oracle.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> util/qemu-coroutine-lock.c | 1 -
> 1 file changed, 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
- [PATCH v6 0/6] coroutine rwlock downgrade fix, minor VDI changes, Paolo Bonzini, 2021/03/25
- [PATCH v6 1/6] block/vdi: When writing new bmap entry fails, don't leak the buffer, Paolo Bonzini, 2021/03/25
- [PATCH v6 2/6] block/vdi: Don't assume that blocks are larger than VdiHeader, Paolo Bonzini, 2021/03/25
- [PATCH v6 3/6] coroutine-lock: Store the coroutine in the CoWaitRecord only once, Paolo Bonzini, 2021/03/25
- Re: [PATCH v6 3/6] coroutine-lock: Store the coroutine in the CoWaitRecord only once,
Stefan Hajnoczi <=
- [PATCH v6 4/6] coroutine-lock: Reimplement CoRwlock to fix downgrade bug, Paolo Bonzini, 2021/03/25
- [PATCH v6 6/6] test-coroutine: Add rwlock downgrade test, Paolo Bonzini, 2021/03/25
- [PATCH v6 5/6] test-coroutine: Add rwlock upgrade test, Paolo Bonzini, 2021/03/25
- Re: [PATCH v6 0/6] coroutine rwlock downgrade fix, minor VDI changes, Stefan Hajnoczi, 2021/03/30