Displaying 5 results from an estimated 5 matches for "virtio_balloon_report_unused_pages".
2017 Jul 26
1
[PATCH v12 6/8] mm: support reporting free page blocks
...}
> }
> }
>
> The above function scans all the free list and directly sends each free page
> block to the
> hypervisor via the virtio_balloon callback below. No need to implement a
> bitmap.
>
> In virtio-balloon, we have the callback:
> void *virtio_balloon_report_unused_pages(void *opaque, unsigned long pfn,
> unsigned long nr_pages)
> {
> struct virtio_balloon *vb = (struct virtio_balloon *)opaque;
> ...put the free page block to the the ring of vb;
> }
>
>
> What do you think?
I do not mind conveying a context to the callback. I wou...
2017 Jul 26
1
[PATCH v12 6/8] mm: support reporting free page blocks
...}
> }
> }
>
> The above function scans all the free list and directly sends each free page
> block to the
> hypervisor via the virtio_balloon callback below. No need to implement a
> bitmap.
>
> In virtio-balloon, we have the callback:
> void *virtio_balloon_report_unused_pages(void *opaque, unsigned long pfn,
> unsigned long nr_pages)
> {
> struct virtio_balloon *vb = (struct virtio_balloon *)opaque;
> ...put the free page block to the the ring of vb;
> }
>
>
> What do you think?
I do not mind conveying a context to the callback. I wou...
2017 Jul 26
2
[PATCH v12 6/8] mm: support reporting free page blocks
On Wed 26-07-17 10:22:23, Wei Wang wrote:
> On 07/25/2017 10:53 PM, Michal Hocko wrote:
> >On Tue 25-07-17 14:47:16, Wang, Wei W wrote:
> >>On Tuesday, July 25, 2017 8:42 PM, hal Hocko wrote:
> >>>On Tue 25-07-17 19:56:24, Wei Wang wrote:
> >>>>On 07/25/2017 07:25 PM, Michal Hocko wrote:
> >>>>>On Tue 25-07-17 17:32:00, Wei Wang wrote:
2017 Jul 26
2
[PATCH v12 6/8] mm: support reporting free page blocks
On Wed 26-07-17 10:22:23, Wei Wang wrote:
> On 07/25/2017 10:53 PM, Michal Hocko wrote:
> >On Tue 25-07-17 14:47:16, Wang, Wei W wrote:
> >>On Tuesday, July 25, 2017 8:42 PM, hal Hocko wrote:
> >>>On Tue 25-07-17 19:56:24, Wei Wang wrote:
> >>>>On 07/25/2017 07:25 PM, Michal Hocko wrote:
> >>>>>On Tue 25-07-17 17:32:00, Wei Wang wrote:
2017 Jul 26
0
[PATCH v12 6/8] mm: support reporting free page blocks
...visit(opaque1, pfn, 1 << order);
}
}
}
The above function scans all the free list and directly sends each free
page block to the
hypervisor via the virtio_balloon callback below. No need to implement a
bitmap.
In virtio-balloon, we have the callback:
void *virtio_balloon_report_unused_pages(void *opaque, unsigned long pfn,
unsigned long nr_pages)
{
struct virtio_balloon *vb = (struct virtio_balloon *)opaque;
...put the free page block to the the ring of vb;
}
What do you think?
Best,
Wei