[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] test-aio-multithread: do not use mb_read/mb_set for simple f
|
From: |
Stefan Hajnoczi |
|
Subject: |
Re: [PATCH] test-aio-multithread: do not use mb_read/mb_set for simple flags |
|
Date: |
Mon, 1 May 2023 09:56:46 -0400 |
On Fri, Apr 28, 2023 at 01:12:48PM +0200, Paolo Bonzini wrote:
> The remaining use of mb_read/mb_set is just to force a thread to exit
> eventually. It does not order two memory accesses and therefore can be
> just read/set.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> tests/unit/test-aio-multithread.c | 12 ++++++------
> 1 file changed, 6 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: do not use mb_read/mb_set for simple flags,
Stefan Hajnoczi <=