search for: a70f1d9

Displaying 4 results from an estimated 4 matches for "a70f1d9".

2014 May 13
2
[PATCH v1] vhost: avoid large order allocations
A test case which generates memory pressure while performing guest administration fails with vhost triggering "page allocation failure" and guest not starting up. After some analysis we discovered the allocation order of vhost to be rensponsible for this behaviour. Thus we suggest patch 1/1 which dynamically allocates the required memory. Please see its description for details. Thanks,
2014 May 13
2
[PATCH v1] vhost: avoid large order allocations
A test case which generates memory pressure while performing guest administration fails with vhost triggering "page allocation failure" and guest not starting up. After some analysis we discovered the allocation order of vhost to be rensponsible for this behaviour. Thus we suggest patch 1/1 which dynamically allocates the required memory. Please see its description for details. Thanks,
2014 May 13
0
[PATCH v1] vhost: avoid large order allocations
...dev, vq, vq->iov + seg, > - ARRAY_SIZE(vq->iov) - seg, &out, > + UIO_MAXIOV - seg, &out, > &in, log, log_num); > if (unlikely(r < 0)) > goto err; > diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c > index cf50ce9..a70f1d9 100644 > --- a/drivers/vhost/scsi.c > +++ b/drivers/vhost/scsi.c > @@ -607,7 +607,7 @@ tcm_vhost_do_evt_work(struct vhost_scsi *vs, struct tcm_vhost_evt *evt) > again: > vhost_disable_notify(&vs->dev, vq); > head = vhost_get_vq_desc(&vs->dev, vq, vq->iov, &gt...
2014 May 13
2
[PATCH v1] vhost: avoid large order allocations
...} r = vhost_get_vq_desc(vq->dev, vq, vq->iov + seg, - ARRAY_SIZE(vq->iov) - seg, &out, + UIO_MAXIOV - seg, &out, &in, log, log_num); if (unlikely(r < 0)) goto err; diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index cf50ce9..a70f1d9 100644 --- a/drivers/vhost/scsi.c +++ b/drivers/vhost/scsi.c @@ -607,7 +607,7 @@ tcm_vhost_do_evt_work(struct vhost_scsi *vs, struct tcm_vhost_evt *evt) again: vhost_disable_notify(&vs->dev, vq); head = vhost_get_vq_desc(&vs->dev, vq, vq->iov, - ARRAY_SIZE(vq->iov), &...