lkml.org 
[lkml]   [2017]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] virtio/ringtest: virtio_ring: fix up need_event math
On Fri, Oct 27, 2017 at 01:11:13PM +0000, Michael S. Tsirkin 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.
>
>Reported-by: Cornelia Huck <cohuck@redhat.com>
>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
>---
> tools/virtio/ringtest/virtio_ring_0_9.c | 24 ++++++++++++++----------
> 1 file changed, 14 insertions(+), 10 deletions(-)
>

Reviewed-by: Jens Freimann <jfreimann@redhat.com>


\
 
 \ /
  Last update: 2017-10-30 14:00    [W:0.256 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site