commit | 5659338c88963ea791118e5e11e314b24f90c3eb | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Mon Feb 01 07:21:02 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 14 22:42:53 2010 -0800 |
tree | 1fbaa549d012e2ba9cd327ed6ac5dbcc773a0244 | |
parent | f10a1f2e7e93a35cb603b63090ff0e70a576a641 [diff] |
vhost-net: switch to smp barriers vhost-net only uses memory barriers to control SMP effects (communication with userspace potentially running on a different CPU), so it should use SMP barriers and not mandatory barriers for memory access ordering, as suggested by Documentation/memory-barriers.txt Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>