virtio-balloon-add-support-for-providing-free-page-reports-to-host.patch removed from -mm tree
The patch titled
Subject: virtio-balloon: add support for providing free page reports to host
has been removed from the -mm tree. Its filename was
virtio-balloon-add-support-for-providing-free-page-reports-to-host.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Alexander Duyck <[email protected]>
Subject: virtio-balloon: add support for providing free page reports to host
Add support for the page reporting feature provided by virtio-balloon. Reporting differs from the regular balloon functionality in that is is much less durable than a standard memory balloon. Instead of creating a list of pages that cannot be accessed the pages are only inaccessible while they are being indicated to the virtio interface. Once the interface has acknowledged them they are placed back into their respective free lists and are once again accessible by the guest system.
Unlike a standard balloon we don't inflate and deflate the pages. Instead we perform the reporting, and once the reporting is completed it is assumed that the page has been dropped from the guest and will be faulted back in the next time the page is accessed.
---
drivers/virtio/Kconfig | 1 drivers/virtio/virtio_balloon.c | 64 ++++++++++++++++++++++++++ include/uapi/linux/virtio_balloon.h | 1 3 files changed, 66 insertions(+)
drivers/virtio/Kconfig renamed from drivers/virtio/Kconfig~virtio-balloon-add-support-for-providing-free-page-reports-to-host +1 -0
@@ -58,6 +58,7 @@ config VIRTIO_BALLOON tristate "Virtio balloon driver" depends on VIRTIO select MEMORY_BALLOON + select PAGE_REPORTING ---help--- This driver supports increasing and decreasing the amount of memory within a KVM guest.
drivers/virtio/virtio_balloon.c renamed from drivers/virtio/virtio_balloon.c~virtio-balloon-add-support-for-providing-free-page-reports-to-host +64 -0
130 lines not on this page · raw message
include/uapi/linux/virtio_balloon.h renamed from include/uapi/linux/virtio_balloon.h~virtio-balloon-add-support-for-providing-free-page-reports-to-host +1 -0
@@ -36,6 +36,7 @@#define VIRTIO_BALLOON_F_DEFLATE_ON_OOM 2/* Deflate balloon on OOM */ #define VIRTIO_BALLOON_F_FREE_PAGE_HINT 3/* VQ to report free pages */ #define VIRTIO_BALLOON_F_PAGE_POISON 4/* Guest is using page poisoning */ +#define VIRTIO_BALLOON_F_REPORTING 5/* Page reporting virtqueue */ /* Size of a PFN in the balloon interface. */ #define VIRTIO_BALLOON_PFN_SHIFT 12
_
Patches currently in -mm which might be from [email protected] are