aboutsummaryrefslogtreecommitdiff
path: root/net/bridge
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-08-04 15:43:40 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-04 15:43:40 +0800
commit8ff3d73133cb5a8a3514cc184152c553637e74a8 (patch)
tree999ec2b6ee2bd5ccf151623b541395a94976b419 /net/bridge
parent0b7b1cfac3b60be07d6b2ae8fe4db495de5883a6 (diff)
virtio: support unlocked queue poll
commit cc229884d3f77ec3b1240e467e0236c3e0647c0c upstream. This adds a way to check ring empty state after enable_cb outside any locks. Will be used by virtio_net. Note: there's room for more optimization: caller is likely to have a memory barrier already, which means we might be able to get rid of a barrier here. Deferring this optimization until we do some benchmarking. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> [wg: Backported to 3.2] Signed-off-by: Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions