From: Michael S. Tsirkin Date: Tue, 9 Jul 2013 10:19:18 +0000 (+0300) Subject: virtio: support unlocked queue poll X-Git-Tag: v3.11-rc1~64^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc229884d3f77ec3b1240e467e0236c3e0647c0c;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed