[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] test-aio-multithread: simplify test_multi_co_schedule
|
From: |
Stefan Hajnoczi |
|
Subject: |
Re: [PATCH] test-aio-multithread: simplify test_multi_co_schedule |
|
Date: |
Mon, 1 May 2023 11:14:48 -0400 |
On Fri, Apr 28, 2023 at 01:19:41PM +0200, Paolo Bonzini wrote:
> Instead of using qatomic_mb_{read,set} mindlessly, just use a per-coroutine
> flag that requires no synchronization.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> tests/unit/test-aio-multithread.c | 18 ++++++++++++------
> 1 file changed, 12 insertions(+), 6 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] test-aio-multithread: simplify test_multi_co_schedule,
Stefan Hajnoczi <=