[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_49503CC554528271302D9D214218898E4206@qq.com>
Date: Sun, 10 Mar 2024 20:15:25 +0800
From: linke li <lilinke99@...com>
To: leon@...nel.org
Cc: bmt@...ich.ibm.com,
jgg@...pe.ca,
lilinke99@...com,
linux-kernel@...r.kernel.org,
linux-rdma@...r.kernel.org
Subject: Re: [PATCH] RDMA/siw: Reuse value read using READ_ONCE instead of re-reading it
I want to emphasize that if the value of orqe->flags has changed by the
time of the second read, the value read will not satisfy the if condition,
causing inconsistency. Given that there is already a READ_ONCE.
Powered by blists - more mailing lists