Re: [virtio-dev] [PATCH] content: document console vq detach buffer

2019-08-14 Thread Pankaj Gupta
> > On Tue, Aug 13, 2019 at 06:21:33PM +0530, Pankaj Gupta wrote: > > This patch documents console special case where vq buffers > > are deleted at port hotunplug time. This behavior is different in > > other devices where vq buffers are deleted at device unplug time. > > > > Signed-off-by:

[virtio-dev] Re: [RFC][Patch v12 1/2] mm: page_reporting: core infrastructure

2019-08-14 Thread David Hildenbrand
On 14.08.19 01:14, Alexander Duyck wrote: > On Tue, Aug 13, 2019 at 3:34 AM David Hildenbrand wrote: >> >> +static int process_free_page(struct page *page, >> +struct page_reporting_config *phconf, int >> count) >> +{ >> + int mt, order, ret

[virtio-dev] Re: [RFC][Patch v12 2/2] virtio-balloon: interface to support free page reporting

2019-08-14 Thread Nitesh Narayan Lal
On 8/14/19 6:29 AM, Cornelia Huck wrote: > On Mon, 12 Aug 2019 09:12:35 -0400 > Nitesh Narayan Lal wrote: > >> Enables the kernel to negotiate VIRTIO_BALLOON_F_REPORTING feature with >> the host. If it is available and page_reporting_flag is set to true, >> page_reporting is enabled and its

[virtio-dev] Re: [RFC][Patch v12 2/2] virtio-balloon: interface to support free page reporting

2019-08-14 Thread Cornelia Huck
On Mon, 12 Aug 2019 09:12:35 -0400 Nitesh Narayan Lal wrote: > Enables the kernel to negotiate VIRTIO_BALLOON_F_REPORTING feature with > the host. If it is available and page_reporting_flag is set to true, > page_reporting is enabled and its callback is configured along with > the max_pages

Re: [virtio-dev] [PATCH] content: document console vq detach buffer

2019-08-14 Thread Stefan Hajnoczi
On Wed, Aug 14, 2019 at 02:33:15AM -0400, Pankaj Gupta wrote: > > On Tue, Aug 13, 2019 at 06:21:33PM +0530, Pankaj Gupta wrote: > > > This patch documents console special case where vq buffers > > > are deleted at port hotunplug time. This behavior is different in > > > other devices where vq

[virtio-dev] Re: [RFC][Patch v12 2/2] virtio-balloon: interface to support free page reporting

2019-08-14 Thread Cornelia Huck
On Wed, 14 Aug 2019 07:47:40 -0400 Nitesh Narayan Lal wrote: > On 8/14/19 6:29 AM, Cornelia Huck wrote: > > On Mon, 12 Aug 2019 09:12:35 -0400 > > Nitesh Narayan Lal wrote: > > > >> Enables the kernel to negotiate VIRTIO_BALLOON_F_REPORTING feature with > >> the host. If it is available and

[virtio-dev] Re: [RFC][Patch v12 2/2] virtio-balloon: interface to support free page reporting

2019-08-14 Thread Nitesh Narayan Lal
On 8/14/19 9:42 AM, Cornelia Huck wrote: > On Wed, 14 Aug 2019 07:47:40 -0400 > Nitesh Narayan Lal wrote: > >> On 8/14/19 6:29 AM, Cornelia Huck wrote: >>> On Mon, 12 Aug 2019 09:12:35 -0400 >>> Nitesh Narayan Lal wrote: >>> Enables the kernel to negotiate VIRTIO_BALLOON_F_REPORTING

Re: [virtio-dev] Re: [RFC][Patch v12 1/2] mm: page_reporting: core infrastructure

2019-08-14 Thread Nitesh Narayan Lal
On 8/14/19 3:07 AM, David Hildenbrand wrote: > On 14.08.19 01:14, Alexander Duyck wrote: >> On Tue, Aug 13, 2019 at 3:34 AM David Hildenbrand wrote: >>> +static int process_free_page(struct page *page, >>> +struct page_reporting_config *phconf, int >>>

[virtio-dev] [PATCH v5 4/6] mm: Introduce Reported pages

2019-08-14 Thread David Hildenbrand
>>> +struct page *get_unreported_page(struct zone *zone, unsigned int order, >>> int mt) >>> +{ >>> + struct list_head *tail = get_unreported_tail(zone, order, mt); >>> + struct free_area *area = &(zone->free_area[order]); >>> + struct list_head *list = >free_list[mt]; >>> + struct page

[virtio-dev] Re: [RFC][Patch v12 1/2] mm: page_reporting: core infrastructure

2019-08-14 Thread Nitesh Narayan Lal
On 8/12/19 2:47 PM, Alexander Duyck wrote: > On Mon, Aug 12, 2019 at 6:13 AM Nitesh Narayan Lal wrote: >> This patch introduces the core infrastructure for free page reporting in >> virtual environments. It enables the kernel to track the free pages which >> can be reported to its hypervisor so

[virtio-dev] Re: [RFC][Patch v12 1/2] mm: page_reporting: core infrastructure

2019-08-14 Thread Alexander Duyck
On Wed, Aug 14, 2019 at 8:49 AM Nitesh Narayan Lal wrote: > > > On 8/12/19 2:47 PM, Alexander Duyck wrote: > > On Mon, Aug 12, 2019 at 6:13 AM Nitesh Narayan Lal > > wrote: > >> This patch introduces the core infrastructure for free page reporting in > >> virtual environments. It enables the