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. 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