linux/drivers/virtio
Xianting Tian b4b4ff73ef 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>
2022-05-31 12:44:25 -04:00
..
Kconfig drivers/virtio: Enable virtio mem for ARM64 2022-03-28 16:52:57 -04:00
Makefile virtio-pci: introduce legacy device module 2021-11-01 04:30:34 -04:00
virtio_balloon.c virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
virtio_dma_buf.c dma-buf: move dma-buf symbols into the DMA_BUF module namespace 2021-10-25 14:53:08 +02:00
virtio_input.c virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
virtio_mem.c drivers: virtio_mem: use pageblock size as the minimum virtio_mem size. 2022-05-13 07:20:13 -07:00
virtio_mmio.c virtio-mmio: Use to_virtio_mmio_device() to simply code 2021-03-14 04:37:35 -04:00
virtio_pci_common.c Revert "virtio_pci: harden MSI-X interrupts" 2022-03-28 16:52:59 -04:00
virtio_pci_common.h Revert "virtio_pci: harden MSI-X interrupts" 2022-03-28 16:52:59 -04:00
virtio_pci_legacy_dev.c virtio/virtio_pci_legacy_dev: ensure the correct return value 2022-01-14 18:50:53 -05:00
virtio_pci_legacy.c Revert "virtio_pci: harden MSI-X interrupts" 2022-03-28 16:52:59 -04:00
virtio_pci_modern_dev.c virtio: pci: check bar values read from virtio config space 2022-03-28 16:52:59 -04:00
virtio_pci_modern.c virtio: pci: check bar values read from virtio config space 2022-03-28 16:52:59 -04:00
virtio_ring.c virtio_ring: add unlikely annotation for free descs check 2022-05-31 12:44:25 -04:00
virtio_vdpa.c vdpa: factor out vdpa_set_features_unlocked for vdpa internal use 2022-03-04 11:56:33 -05:00
virtio.c Revert "virtio: use virtio_device_ready() in virtio_device_restore()" 2022-03-30 04:18:14 -04:00