[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1526023986.28429.1.camel@seibold.net>
Date: Fri, 11 May 2018 09:33:06 +0200
From: Stefani Seibold <stefani@...bold.net>
To: Xiao Guangrong <guangrong.xiao@...il.com>,
paulmck@...ux.vnet.ibm.com
Cc: peterz@...radead.org, rostedt@...dmis.org,
Lai Jiangshan <jiangshanlai@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: Is read barrier missed in kfifo?
My guts thinks you are right. Feel free to send a patch...
Am Freitag, den 11.05.2018, 15:25 +0800 schrieb Xiao Guangrong:
> 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