search for: d3fa550

Displaying 2 results from an estimated 2 matches for "d3fa550".

Did you mean: d38550
2016 Dec 12
0
[PATCH] vhost: cache used event for better performance
...ows ~3.5% improvement. Signed-off-by: Jason Wang <jasowang at redhat.com> --- drivers/vhost/vhost.c | 28 ++++++++++++++++++++++------ drivers/vhost/vhost.h | 3 +++ 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 2663543..d3fa550 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -290,6 +290,7 @@ static void vhost_vq_reset(struct vhost_dev *dev, vq->avail = NULL; vq->used = NULL; vq->last_avail_idx = 0; + vq->last_used_event = 0; vq->avail_idx = 0; vq->last_used_idx = 0; vq->s...
2016 Dec 12
0
[PATCH] vhost: cache used event for better performance
...ows ~3.5% improvement. Signed-off-by: Jason Wang <jasowang at redhat.com> --- drivers/vhost/vhost.c | 28 ++++++++++++++++++++++------ drivers/vhost/vhost.h | 3 +++ 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 2663543..d3fa550 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -290,6 +290,7 @@ static void vhost_vq_reset(struct vhost_dev *dev, vq->avail = NULL; vq->used = NULL; vq->last_avail_idx = 0; + vq->last_used_event = 0; vq->avail_idx = 0; vq->last_used_idx = 0; vq->s...