diff options
author | 2015-04-13 21:03:49 +0930 | |
---|---|---|
committer | 2015-04-13 21:04:16 +0930 | |
commit | 9e1a27ea42691429e31f158cce6fc61bc79bb2e9 (patch) | |
tree | 46b42dc8ad0ee34fafcf6d7228e51066a550f184 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | virtio_pci_modern: switch to type-safe io accessors (diff) | |
download | wireguard-linux-9e1a27ea42691429e31f158cce6fc61bc79bb2e9.tar.xz wireguard-linux-9e1a27ea42691429e31f158cce6fc61bc79bb2e9.zip |
virtio_ring: Update weak barriers to use dma_wmb/rmb
This change makes it so that instead of using smp_wmb/rmb which varies
depending on the kernel configuration we can can use dma_wmb/rmb which for
most architectures should be equal to or slightly more strict than
smp_wmb/rmb.
The advantage to this is that these barriers are available to uniprocessor
builds as well so the performance should improve under such a
configuration.
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions