Home
last modified time | relevance | path

Searched hist:cc229884d3f77ec3b1240e467e0236c3e0647c0c (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dvirtio.hdiff cc229884d3f77ec3b1240e467e0236c3e0647c0c Tue Jul 09 05:19:18 CDT 2013 Michael S. Tsirkin <mst@redhat.com> virtio: support unlocked queue poll

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>
/openbmc/linux/drivers/virtio/
H A Dvirtio_ring.cdiff cc229884d3f77ec3b1240e467e0236c3e0647c0c Tue Jul 09 05:19:18 CDT 2013 Michael S. Tsirkin <mst@redhat.com> virtio: support unlocked queue poll

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>