android_kernel_samsung_msm8976/drivers/virtio
Michael S. Tsirkin c23b1ece61 virtio: support unlocked queue poll
[ Upstream commit cc229884d3f77ec3b1240e467e0236c3e0647c0c ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-07-28 16:29:55 -07:00
..
config.c
Kconfig
Makefile
virtio.c
virtio_balloon.c virtio_balloon: leak_balloon(): only tell host if we got pages deflated 2013-07-25 14:07:31 -07:00
virtio_mmio.c
virtio_pci.c
virtio_ring.c virtio: support unlocked queue poll 2013-07-28 16:29:55 -07:00