search for: 541f757

Displaying 4 results from an estimated 4 matches for "541f757".

Did you mean: 515757
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
...gt; for (i = 0; i < dev->nvqs; ++i) { > vq = dev->vqs[i]; > vq->log = NULL; > + vq->iov = NULL; > vq->indirect = NULL; > vq->heads = NULL; > vq->dev = dev; > diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h > index 35eeb2a..541f757 100644 > --- a/drivers/vhost/vhost.h > +++ b/drivers/vhost/vhost.h > @@ -100,7 +100,7 @@ struct vhost_virtqueue { > bool log_used; > u64 log_addr; > > - struct iovec iov[UIO_MAXIOV]; > + struct iovec *iov; > struct iovec *indirect; > struct vring_used_elem *h...
2014 May 13
2
[PATCH v1] vhost: avoid large order allocations
...void vhost_dev_init(struct vhost_dev *dev, for (i = 0; i < dev->nvqs; ++i) { vq = dev->vqs[i]; vq->log = NULL; + vq->iov = NULL; vq->indirect = NULL; vq->heads = NULL; vq->dev = dev; diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h index 35eeb2a..541f757 100644 --- a/drivers/vhost/vhost.h +++ b/drivers/vhost/vhost.h @@ -100,7 +100,7 @@ struct vhost_virtqueue { bool log_used; u64 log_addr; - struct iovec iov[UIO_MAXIOV]; + struct iovec *iov; struct iovec *indirect; struct vring_used_elem *heads; /* Protected by virtqueue mutex. */ -- 1....