Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750945Ab2F2EgS (ORCPT ); Fri, 29 Jun 2012 00:36:18 -0400 Received: from ozlabs.org ([203.10.76.45]:40407 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750787Ab2F2EgR (ORCPT ); Fri, 29 Jun 2012 00:36:17 -0400 From: Rusty Russell To: Rafael Aquini , linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, "Michael S. Tsirkin" , Rik van Riel , Mel Gorman , Andi Kleen , Andrew Morton , Konrad Rzeszutek Wilk , Rafael Aquini Subject: Re: [PATCH v2 0/4] make balloon pages movable by compaction In-Reply-To: References: User-Agent: Notmuch/0.12 (http://notmuchmail.org) Emacs/23.3.1 (i686-pc-linux-gnu) Date: Fri, 29 Jun 2012 14:01:52 +0930 Message-ID: <87r4syzqkn.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1666 Lines: 39 On Thu, 28 Jun 2012 18:49:38 -0300, Rafael Aquini wrote: > 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 comments If 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 Cheers, Rusty. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/