On Mon, 2016-01-04 at 13:37 +0200, Michael S. Tsirkin wrote:> Add virt_ barriers to list of barriers to check for > presence of a comment.Are these virt_ barriers used anywhere? I see some virtio_ barrier like uses.
On Mon, Jan 04, 2016 at 08:47:53AM -0800, Joe Perches wrote:> On Mon, 2016-01-04 at 13:37 +0200, Michael S. Tsirkin wrote: > > Add virt_ barriers to list of barriers to check for > > presence of a comment. > > Are these virt_ barriers used anywhere? > > I see some virtio_ barrier like uses.They will be :) They are added and used by patchset arch: barrier cleanup + barriers for virt See http://article.gmane.org/gmane.linux.kernel.virtualization/26555 -- MST
On Mon, 2016-01-04 at 23:07 +0200, Michael S. Tsirkin wrote:> On Mon, Jan 04, 2016 at 08:47:53AM -0800, Joe Perches wrote: > > On Mon, 2016-01-04 at 13:37 +0200, Michael S. Tsirkin wrote: > > > Add virt_ barriers to list of barriers to check for > > > presence of a comment. > > > > Are these virt_ barriers used anywhere? > > > > I see some virtio_ barrier like uses. > > They will be :) They are added and used by patchset > ????????arch: barrier cleanup + barriers for virt > > See > http://article.gmane.org/gmane.linux.kernel.virtualization/26555Ah, OK, thanks. Are the virtio_ barriers going away? If not, maybe those should be added too.