|
From: | Richard Henderson |
Subject: | Re: [PATCH] test-aio-multithread: do not use mb_read/mb_set for simple flags |
Date: | Sat, 29 Apr 2023 10:48:34 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
On 4/28/23 12:12, 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: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |