diff options
author | Michael S. Tsirkin <[email protected]> | 2015-12-27 17:55:35 +0200 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2016-01-12 20:47:00 +0200 |
commit | a65961272e1ebdb60804bbe2bb440481fcbd1c76 (patch) | |
tree | b88a96970204049d3934e5e16b61ceb64862335e /tools/perf/scripts/python/stackcollapse.py | |
parent | d307fb16f788823b29aab9aa7e4821ac8a124b19 (diff) |
virtio_ring: update weak barriers to use virt_xxx
virtio ring uses smp_wmb on SMP and wmb on !SMP,
the reason for the later being that it might be
talking to another kernel on the same SMP machine.
This is exactly what virt_xxx barriers do,
so switch to these instead of homegrown ifdef hacks.
Cc: Peter Zijlstra <[email protected]>
Cc: Alexander Duyck <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions