diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-12-20 13:52:10 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-01-12 20:47:00 +0200 |
commit | d307fb16f788823b29aab9aa7e4821ac8a124b19 (patch) | |
tree | 62a988d99febab95f276b807f365d1b4abbd90e9 /arch/mips/rb532 | |
parent | 6a65d26385bf487926a0616650927303058551e3 (diff) | |
download | talos-op-linux-d307fb16f788823b29aab9aa7e4821ac8a124b19.tar.gz talos-op-linux-d307fb16f788823b29aab9aa7e4821ac8a124b19.zip |
Revert "virtio_ring: Update weak barriers to use dma_wmb/rmb"
This reverts commit 9e1a27ea42691429e31f158cce6fc61bc79bb2e9.
While that commit optimizes !CONFIG_SMP, it mixes
up DMA and SMP concepts, making the code hard
to figure out.
A better way to optimize this is with the new __smp_XXX
barriers.
As a first step, go back to full rmb/wmb barriers
for !SMP.
We switch to __smp_XXX barriers in the next patch.
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'arch/mips/rb532')
0 files changed, 0 insertions, 0 deletions