Displaying 10 results from an estimated 10 matches for "page_reporting_capacity".
2020 Mar 10
2
[PATCH v2] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...= virtballoon_free_page_report;
>> if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_REPORTING)) {
>> @@ -1003,12 +988,12 @@ static int virtballoon_probe(struct virtio_device *vdev)
>> capacity = virtqueue_get_vring_size(vb->reporting_vq);
>> if (capacity < PAGE_REPORTING_CAPACITY) {
>> err = -ENOSPC;
>> - goto out_unregister_shrinker;
>> + goto out_unregister_oom;
>> }
>>
>> err = page_reporting_register(&vb->pr_dev_info);
>> if (err)
>> - goto out_unregister_shrinker;
>> + goto out_unregist...
2020 Mar 10
2
[PATCH v2] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...= virtballoon_free_page_report;
>> if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_REPORTING)) {
>> @@ -1003,12 +988,12 @@ static int virtballoon_probe(struct virtio_device *vdev)
>> capacity = virtqueue_get_vring_size(vb->reporting_vq);
>> if (capacity < PAGE_REPORTING_CAPACITY) {
>> err = -ENOSPC;
>> - goto out_unregister_shrinker;
>> + goto out_unregister_oom;
>> }
>>
>> err = page_reporting_register(&vb->pr_dev_info);
>> if (err)
>> - goto out_unregister_shrinker;
>> + goto out_unregist...
2020 Mar 10
0
[PATCH v2] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...page_report;
> >> if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_REPORTING)) {
> >> @@ -1003,12 +988,12 @@ static int virtballoon_probe(struct virtio_device *vdev)
> >> capacity = virtqueue_get_vring_size(vb->reporting_vq);
> >> if (capacity < PAGE_REPORTING_CAPACITY) {
> >> err = -ENOSPC;
> >> - goto out_unregister_shrinker;
> >> + goto out_unregister_oom;
> >> }
> >>
> >> err = page_reporting_register(&vb->pr_dev_info);
> >> if (err)
> >> - goto out_unregister_...
2020 Mar 10
2
[PATCH v2] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...q;
- }
vb->pr_dev_info.report = virtballoon_free_page_report;
if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_REPORTING)) {
@@ -1003,12 +988,12 @@ static int virtballoon_probe(struct virtio_device *vdev)
capacity = virtqueue_get_vring_size(vb->reporting_vq);
if (capacity < PAGE_REPORTING_CAPACITY) {
err = -ENOSPC;
- goto out_unregister_shrinker;
+ goto out_unregister_oom;
}
err = page_reporting_register(&vb->pr_dev_info);
if (err)
- goto out_unregister_shrinker;
+ goto out_unregister_oom;
}
virtio_device_ready(vdev);
@@ -1017,8 +1002,11 @@ static int virt...
2020 Mar 10
2
[PATCH v2] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...q;
- }
vb->pr_dev_info.report = virtballoon_free_page_report;
if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_REPORTING)) {
@@ -1003,12 +988,12 @@ static int virtballoon_probe(struct virtio_device *vdev)
capacity = virtqueue_get_vring_size(vb->reporting_vq);
if (capacity < PAGE_REPORTING_CAPACITY) {
err = -ENOSPC;
- goto out_unregister_shrinker;
+ goto out_unregister_oom;
}
err = page_reporting_register(&vb->pr_dev_info);
if (err)
- goto out_unregister_shrinker;
+ goto out_unregister_oom;
}
virtio_device_ready(vdev);
@@ -1017,8 +1002,11 @@ static int virt...
2020 Mar 11
2
[PATCH v4 0/1] mm: virtio-balloon fix to go through the -mm tree
@Andrew, as this fix is based on free page reporting, can this go through
your tree?
Patch #1 contains a proper description.
v3 -> v4:
- Add Ack from David Rientjes
- Minor tweaks to test details in the patch description
v2 -> v3:
- Use vb->vdev instead of vdev in all feature checks. We'll clean the
other ones up later.
- Add one empty line virtballoon_probe() to make it look
2020 Mar 11
0
[PATCH v4] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...q;
- }
vb->pr_dev_info.report = virtballoon_free_page_report;
if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_REPORTING)) {
@@ -1003,12 +989,12 @@ static int virtballoon_probe(struct virtio_device *vdev)
capacity = virtqueue_get_vring_size(vb->reporting_vq);
if (capacity < PAGE_REPORTING_CAPACITY) {
err = -ENOSPC;
- goto out_unregister_shrinker;
+ goto out_unregister_oom;
}
err = page_reporting_register(&vb->pr_dev_info);
if (err)
- goto out_unregister_shrinker;
+ goto out_unregister_oom;
}
virtio_device_ready(vdev);
@@ -1017,8 +1003,11 @@ static int virt...
2020 Mar 10
0
[PATCH v2] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
..._dev_info.report = virtballoon_free_page_report;
> if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_REPORTING)) {
> @@ -1003,12 +988,12 @@ static int virtballoon_probe(struct virtio_device *vdev)
> capacity = virtqueue_get_vring_size(vb->reporting_vq);
> if (capacity < PAGE_REPORTING_CAPACITY) {
> err = -ENOSPC;
> - goto out_unregister_shrinker;
> + goto out_unregister_oom;
> }
>
> err = page_reporting_register(&vb->pr_dev_info);
> if (err)
> - goto out_unregister_shrinker;
> + goto out_unregister_oom;
> }
>
> virti...
2020 Mar 10
3
[PATCH v3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...q;
- }
vb->pr_dev_info.report = virtballoon_free_page_report;
if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_REPORTING)) {
@@ -1003,12 +989,12 @@ static int virtballoon_probe(struct virtio_device *vdev)
capacity = virtqueue_get_vring_size(vb->reporting_vq);
if (capacity < PAGE_REPORTING_CAPACITY) {
err = -ENOSPC;
- goto out_unregister_shrinker;
+ goto out_unregister_oom;
}
err = page_reporting_register(&vb->pr_dev_info);
if (err)
- goto out_unregister_shrinker;
+ goto out_unregister_oom;
}
virtio_device_ready(vdev);
@@ -1017,8 +1003,11 @@ static int virt...
2020 Mar 10
3
[PATCH v3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...q;
- }
vb->pr_dev_info.report = virtballoon_free_page_report;
if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_REPORTING)) {
@@ -1003,12 +989,12 @@ static int virtballoon_probe(struct virtio_device *vdev)
capacity = virtqueue_get_vring_size(vb->reporting_vq);
if (capacity < PAGE_REPORTING_CAPACITY) {
err = -ENOSPC;
- goto out_unregister_shrinker;
+ goto out_unregister_oom;
}
err = page_reporting_register(&vb->pr_dev_info);
if (err)
- goto out_unregister_shrinker;
+ goto out_unregister_oom;
}
virtio_device_ready(vdev);
@@ -1017,8 +1003,11 @@ static int virt...