virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* memory barriers in virtq.lua?
@ 2015-01-27 16:01 Michael S. Tsirkin
  2015-01-28 10:27 ` Nikolay Nikolaev
       [not found] ` <CADDJ2=M6hwFwooXqUjUc9+JxjW1sVYvKhY9dBavrmMUrej6Ysw@mail.gmail.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Michael S. Tsirkin @ 2015-01-27 16:01 UTC (permalink / raw)
  To: n.nikolaev, virtualization

Hi Nikolay,
I poked at src/lib/virtio/virtq.lua a bit -
I was surprised to find no explicit CPU memory
barriers in the virtq implementation.
These are typically required when using virtio
on smp machines - the spec actually mention where
barriers are necessary.
Are the barriers implicit somehow for lua?
I'd be curious to learn.


Thanks,

-- 
MST

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-04-09 15:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-27 16:01 memory barriers in virtq.lua? Michael S. Tsirkin
2015-01-28 10:27 ` Nikolay Nikolaev
     [not found] ` <CADDJ2=M6hwFwooXqUjUc9+JxjW1sVYvKhY9dBavrmMUrej6Ysw@mail.gmail.com>
2015-04-07 14:22   ` [snabb-devel] " Luke Gorrie
     [not found]   ` <CAA2XHbcU0tV0NrBXT6oh6LOz7sKm9P8jqD1=T-ZgTahSVM_qwQ@mail.gmail.com>
2015-04-07 15:30     ` Michael S. Tsirkin
     [not found]     ` <20150407172849-mutt-send-email-mst@redhat.com>
2015-04-08  3:40       ` Luke Gorrie
2015-04-08 15:15     ` [dpdk-dev] " Xie, Huawei
     [not found]     ` <C37D651A908B024F974696C65296B57B0F42E766@SHSMSX101.ccr.corp.intel.com>
2015-04-09  3:12       ` Luke Gorrie
     [not found]       ` <CAA2XHbdNAB1ZsBFYHW7W1yhnkzaSixwKk4KvjU8G=7OLECpZhQ@mail.gmail.com>
2015-04-09 15:00         ` Xie, Huawei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).