Re: [PATCH v2 0/4] make balloon pages movable by compaction
From: Rafael Aquini <hidden>
Date: 2012-06-29 17:46:25
On Fri, Jun 29, 2012 at 02:01:52PM +0930, Rusty Russell wrote:
On Thu, 28 Jun 2012 18:49:38 -0300, Rafael Aquini [off-list ref] wrote:quoted
This patchset follows the main idea discussed at 2012 LSFMMS section: "Ballooning for transparent huge pages" -- http://lwn.net/Articles/490114/ to introduce the required changes to the virtio_balloon driver, as well as changes to the core compaction & migration bits, in order to allow memory balloon pages become movable within a guest. Rafael Aquini (4): mm: introduce compaction and migration for virtio ballooned pages virtio_balloon: handle concurrent accesses to virtio_balloon struct elements virtio_balloon: introduce migration primitives to balloon pages mm: add vm event counters for balloon pages compaction drivers/virtio/virtio_balloon.c | 142 +++++++++++++++++++++++++++++++++++---- include/linux/mm.h | 16 +++++ include/linux/virtio_balloon.h | 6 ++ include/linux/vm_event_item.h | 2 + mm/compaction.c | 111 ++++++++++++++++++++++++------ mm/migrate.c | 32 ++++++++- mm/vmstat.c | 4 ++ 7 files changed, 280 insertions(+), 33 deletions(-) V2: address Mel Gorman's review commentsIf Mel is happy, I am happy. Seems sensible that the virtio_baloon changes go in at the same time as the mm changes, so: Acked-by: Rusty Russell <redacted>
Thanks Rusty! I'll be respinning a v3 to address some extra suggestions Mel did, so if you have any concern that you'd like me to address, do not hesitate on letting me know! Cheers! Rafael