From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with SMTP id AFCD96B00A6 for ; Thu, 28 Jan 2010 13:07:35 -0500 (EST) Message-ID: <4B61D1E6.6020507@redhat.com> Date: Thu, 28 Jan 2010 13:05:26 -0500 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 25 of 31] transparent hugepage core References: <20100128175753.GF7139@csn.ul.ie> In-Reply-To: <20100128175753.GF7139@csn.ul.ie> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Mel Gorman Cc: Andrea Arcangeli , linux-mm@kvack.org, Marcelo Tosatti , Adam Litke , Avi Kivity , Izik Eidus , Hugh Dickins , Nick Piggin , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , KAMEZAWA Hiroyuki , Christoph Lameter , Chris Wright , Andrew Morton , bpicco@redhat.com, Christoph Hellwig , KOSAKI Motohiro , Balbir Singh , Arnd Bergmann List-ID: On 01/28/2010 12:57 PM, Mel Gorman wrote: > Sorry for the long delay getting to this patch. I ran out of beans the > first time around. Unlike Rik, I can't handle 31 patches in one sitting. > > On Thu, Jan 28, 2010 at 03:33:39PM +0100, Andrea Arcangeli wrote: >> From: Andrea Arcangeli >> >> Lately I've been working to make KVM use hugepages transparently >> without the usual restrictions of hugetlbfs. Some of the restrictions >> I'd like to see removed: >> >> 1) hugepages have to be swappable or the guest physical memory remains >> locked in RAM and can't be paged out to swap >> > > It occurs to me that this infrastructure should be reusable to make allow > optional swapping of hugetlbfs. I haven't investigated the possibility properly > but it should be doable as a mount option with maybe a boot-parameter for > shared memory. I agree that would be nice. However, as you noticed above this patch set is quite large already. Merging the infrastructure from hugetlb and the anonymous hugepages is probably better done in a follow up patch series, since the two are pretty different beasts at this point. -- All rights reversed. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org