aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorXianting Tian <xianting.tian@linux.alibaba.com>2022-03-28 18:58:17 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-05-31 12:44:25 -0400
commitb4b4ff73ef047556e81694174bb8561457f25eeb (patch)
tree9df63bff412bf25099bf120abd2705a9d92d2cc4 /include/uapi
parentvirtio_ring: remove unnecessary to_vvq call in vring hot path (diff)
downloadlinux-dev-b4b4ff73ef047556e81694174bb8561457f25eeb.tar.xz
linux-dev-b4b4ff73ef047556e81694174bb8561457f25eeb.zip
virtio_ring: add unlikely annotation for free descs check
The 'if (vq->vq.num_free < descs_used)' check will almost always be false. Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com> Message-Id: <20220328105817.1028065-2-xianting.tian@linux.alibaba.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions