search for: 486dcf371e06

Displaying 1 result from an estimated 1 matches for "486dcf371e06".

2020 Sep 09
0
[PATCH] vhost_vdpa: remove unnecessary spin_lock in vhost_vring_call
...x.ctx_lock); > swap(ctx, vq->call_ctx.ctx); > - spin_unlock(&vq->call_ctx.ctx_lock); > break; > case VHOST_SET_VRING_ERR: > if (copy_from_user(&f, argp, sizeof f)) { > diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h > index 9032d3c2a9f4..486dcf371e06 100644 > --- a/drivers/vhost/vhost.h > +++ b/drivers/vhost/vhost.h > @@ -64,7 +64,6 @@ enum vhost_uaddr_type { > struct vhost_vring_call { > struct eventfd_ctx *ctx; > struct irq_bypass_producer producer; > - spinlock_t ctx_lock; > }; > > /* The virtqueu...