|
From: | Vladimir Sementsov-Ogievskiy |
Subject: | Re: [PATCH] aio_wait_kick: add missing memory barrier |
Date: | Tue, 24 May 2022 21:30:21 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 |
On 5/24/22 20:30, Emanuele Giuseppe Esposito wrote:
It seems that aio_wait_kick always required a memory barrier or atomic operation in the caller, but nobody actually took care of doing it. Let's put the barrier in the function instead, and pair it with another one in AIO_WAIT_WHILE. Read aio_wait_kick() comment for further explanation. Suggested-by: Paolo Bonzini<pbonzini@redhat.com> Signed-off-by: Emanuele Giuseppe Esposito<eesposit@redhat.com>
Thanks! Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> -- Best regards, Vladimir
[Prev in Thread] | Current Thread | [Next in Thread] |