[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7F67E16F-BC91-47B3-9A68-CF1EA226AB2E@vmware.com>
Date: Fri, 28 Sep 2018 19:48:11 +0000
From: Nadav Amit <namit@...are.com>
To: "Michael S. Tsirkin" <mst@...hat.com>
CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Xavier Deguillard <xdeguillard@...are.com>,
LKML <linux-kernel@...r.kernel.org>,
Jason Wang <jasowang@...hat.com>,
linux-mm <linux-mm@...ck.org>,
"virtualization@...ts.linux-foundation.org"
<virtualization@...ts.linux-foundation.org>,
Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH v3 16/20] mm/balloon_compaction: list interfaces
at 12:13 PM, Nadav Amit <namit@...are.com> wrote:
> Introduce interfaces for ballooning enqueueing and dequeueing of a list
> of pages. These interfaces reduce the overhead of storing and restoring
> IRQs by batching the operations. In addition they do not panic if the
> list of pages is empty.
>
> Cc: "Michael S. Tsirkin" <mst@...hat.com>
> Cc: Jason Wang <jasowang@...hat.com>
> Cc: linux-mm@...ck.org
> Cc: virtualization@...ts.linux-foundation.org
> Reviewed-by: Xavier Deguillard <xdeguillard@...are.com>
> Signed-off-by: Nadav Amit <namit@...are.com>
> ---
> include/linux/balloon_compaction.h | 4 +
> mm/balloon_compaction.c | 139 +++++++++++++++++++++--------
> 2 files changed, 105 insertions(+), 38 deletions(-)
>
> diff --git a/include/linux/balloon_compaction.h b/include/linux/balloon_compaction.h
> index 53051f3d8f25..2c5a8e09e413 100644
> --- a/include/linux/balloon_compaction.h
> +++ b/include/linux/balloon_compaction.h
> @@ -72,6 +72,10 @@ extern struct page *balloon_page_alloc(void);
> extern void balloon_page_enqueue(struct balloon_dev_info *b_dev_info,
> struct page *page);
> extern struct page *balloon_page_dequeue(struct balloon_dev_info *b_dev_info);
> +extern void balloon_page_list_enqueue(struct balloon_dev_info *b_dev_info,
> + struct list_head *pages);
> +extern int balloon_page_list_dequeue(struct balloon_dev_info *b_dev_info,
> + struct list_head *pages, int n_req_pages);
<snip>
Michael, can we get you ack for this patch (as well as 15/20)?
Thanks,
Nadav
Powered by blists - more mailing lists