6 Aug 2012 15:56
[PATCH v5 0/3] make balloon pages movable by compaction
Rafael Aquini <aquini <at> redhat.com>
2012-08-06 13:56:49 GMT
2012-08-06 13:56:49 GMT
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. This patch-set follows the main idea discussed at 2012 LSFMMS session: "Ballooning for transparent huge pages" -- http://lwn.net/Articles/490114/ to introduce the required changes to the virtio_balloon driver, as well as the changes to the core compaction & migration bits, in order to make those subsystems aware of ballooned pages and allow memory balloon pages become movable within a guest, thus avoiding the aforementioned fragmentation issue Rafael Aquini (3): mm: introduce compaction and migration for virtio ballooned pages virtio_balloon: introduce migration primitives to balloon pages mm: add vm event counters for balloon pages compaction drivers/virtio/virtio_balloon.c | 139 +++++++++++++++++++++++++++++++++++++--- include/linux/mm.h | 26 ++++++++ include/linux/virtio_balloon.h | 4 ++ include/linux/vm_event_item.h | 2 + mm/compaction.c | 131 +++++++++++++++++++++++++++++++------ mm/migrate.c | 34 +++++++++- mm/vmstat.c | 4 ++ 7 files changed, 312 insertions(+), 28 deletions(-) Change log: v5: * address Andrew Morton's review comments on the patch series; * address a couple extra nitpick suggestions on PATCH 01 (Minchan);(Continue reading)
RSS Feed