[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <5382d3a8-08e0-5429-0cd3-36f9c69197e1@gmail.com>
Date: Fri, 11 May 2018 15:25:18 +0800
From: Xiao Guangrong <guangrong.xiao@...il.com>
To: paulmck@...ux.vnet.ibm.com
Cc: peterz@...radead.org, rostedt@...dmis.org,
Lai Jiangshan <jiangshanlai@...il.com>, stefani@...bold.net,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Is read barrier missed in kfifo?
Hi,
Currently, there is no read barrier between reading the index
(kfifo.in) and fetching the real data from the fifo.
I am afraid that will cause the vfifo is observed as not empty
however the data is not actually ready for read. Right?
Thanks!
Powered by blists - more mailing lists