Re: [PATCH] test-aio-multithread: do not use mb_read/mb_set for simple flags

2023-05-01 Thread Stefan Hajnoczi
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 > --- > tests/unit/test-aio-multithre

Re: [PATCH] test-aio-multithread: do not use mb_read/mb_set for simple flags

2023-04-29 Thread Richard Henderson
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 --- tests/unit/test-aio-multithread.c | 12 ++-- 1 file chan

[PATCH] test-aio-multithread: do not use mb_read/mb_set for simple flags

2023-04-28 Thread Paolo Bonzini
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 --- tests/unit/test-aio-multithread.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff