aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMichael S. Tsirkin <[email protected]>2015-12-27 17:55:35 +0200
committerMichael S. Tsirkin <[email protected]>2016-01-12 20:47:00 +0200
commita65961272e1ebdb60804bbe2bb440481fcbd1c76 (patch)
treeb88a96970204049d3934e5e16b61ceb64862335e /tools/perf/scripts/python/stackcollapse.py
parentd307fb16f788823b29aab9aa7e4821ac8a124b19 (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