RE: [PATCH v11 0/6] Virtio-balloon Enhancement

From: Wang, Wei W
Date: Fri Jun 09 2017 - 07:18:52 EST


On Friday, June 9, 2017 6:42 PM, Wang, Wei W wrote:
> To: virtio-dev@xxxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; qemu-
> devel@xxxxxxxxxx; virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx;
> kvm@xxxxxxxxxxxxxxx; linux-mm@xxxxxxxxx; mst@xxxxxxxxxx;
> david@xxxxxxxxxx; Hansen, Dave <dave.hansen@xxxxxxxxx>;
> cornelia.huck@xxxxxxxxxx; akpm@xxxxxxxxxxxxxxxxxxxx;
> mgorman@xxxxxxxxxxxxxxxxxxx; aarcange@xxxxxxxxxx; amit.shah@xxxxxxxxxx;
> pbonzini@xxxxxxxxxx; Wang, Wei W <wei.w.wang@xxxxxxxxx>;
> liliang.opensource@xxxxxxxxx
> Subject: [PATCH v11 0/6] Virtio-balloon Enhancement
>
> This patch series enhances the existing virtio-balloon with the following new
> features:
> 1) fast ballooning: transfer ballooned pages between the guest and host in
> chunks, instead of one by one; and
> 2) cmdq: a new virtqueue to send commands between the device and driver.
> Currently, it supports commands to report memory stats (replace the old statq
> mechanism) and report guest unused pages.

v10->v11 changes:
1) virtio_balloon: use vring_desc to describe a chunk;
2) virtio_ring: support to add an indirect desc table to virtqueue;
3) virtio_balloon: use cmdq to report guest memory statistics.

>
> Liang Li (1):
> virtio-balloon: deflate via a page list
>
> Wei Wang (5):
> virtio-balloon: coding format cleanup
> virtio-balloon: VIRTIO_BALLOON_F_PAGE_CHUNKS
> mm: function to offer a page block on the free list
> mm: export symbol of next_zone and first_online_pgdat
> virtio-balloon: VIRTIO_BALLOON_F_CMD_VQ
>
> drivers/virtio/virtio_balloon.c | 781 ++++++++++++++++++++++++++++++++--
> --
> drivers/virtio/virtio_ring.c | 120 +++++-
> include/linux/mm.h | 5 +
> include/linux/virtio.h | 7 +
> include/uapi/linux/virtio_balloon.h | 14 +
> include/uapi/linux/virtio_ring.h | 3 +
> mm/mmzone.c | 2 +
> mm/page_alloc.c | 91 +++++
> 8 files changed, 950 insertions(+), 73 deletions(-)
>
> --
> 2.7.4