diff options
author | Ladi Prosek <lprosek@redhat.com> | 2016-08-31 14:00:04 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-10-30 23:21:40 +0100 |
commit | 0ea1e4a6d9b62cf29e210d2b4ba9fd43917522e3 (patch) | |
tree | 7f5b50b9c99b4b2a3278951f69b1222a8e4b2d85 /drivers/ide/ide-gd.h | |
parent | virtio_pci: Limit DMA mask to 44 bits for legacy virtio devices (diff) | |
download | linux-0ea1e4a6d9b62cf29e210d2b4ba9fd43917522e3.tar.xz linux-0ea1e4a6d9b62cf29e210d2b4ba9fd43917522e3.zip |
virtio_ring: Make interrupt suppression spec compliant
According to the spec, if the VIRTIO_RING_F_EVENT_IDX feature bit is
negotiated the driver MUST set flags to 0. Not dirtying the available
ring in virtqueue_disable_cb also has a minor positive performance
impact, improving L1 dcache load missed by ~0.5% in vring_bench.
Writes to the used event field (vring_used_event) are still unconditional.
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: <stable@vger.kernel.org> # f277ec4 virtio_ring: shadow available
Cc: <stable@vger.kernel.org>
Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/ide/ide-gd.h')
0 files changed, 0 insertions, 0 deletions