Is read barrier missed in kfifo?

From: Xiao Guangrong
Date: Fri May 11 2018 - 03:25:57 EST



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!