lkml.org 
[lkml]   [2017]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] virtio/ringtest: fix up need_event math
On Thu, 26 Oct 2017 04:48:01 +0300
"Michael S. Tsirkin" <mst@redhat.com> wrote:

> last kicked event index must be updated unconditionally:
> even if we don't need to kick, we do not want to re-check
> the same entry for events.
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
> tools/virtio/ringtest/ring.c | 24 +++++++++++++++---------
> 1 file changed, 15 insertions(+), 9 deletions(-)

Acked-by: Cornelia Huck <cohuck@redhat.com>

I think virtio_ring_0_9 has the same issue?

\
 
 \ /
  Last update: 2017-10-26 10:37    [W:0.039 / U:8.640 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site