Re: [PATCH] RDMA/siw: Reuse value read using READ_ONCE instead of re-reading it

From: Leon Romanovsky
Date: Tue Mar 12 2024 - 03:57:42 EST


On Tue, Mar 12, 2024 at 09:30:53AM +0800, linke li wrote:
> Thank you for your reasonal reply. That makes sense. But you may still
> consider to make it better, like this patch, to read the flag only one
> time. It will avoid some potential risks. However, it depends on
> maintainer's choice.

Maintainer doesn't see any potential risks and value is read only once anyway.

Thanks

>
> Linke
> Thanks
>
>