From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with ESMTP id 083226B00B1 for ; Tue, 26 Jan 2010 12:49:43 -0500 (EST) Date: Tue, 26 Jan 2010 17:49:28 +0000 From: Mel Gorman Subject: Re: [PATCH 01 of 31] define MADV_HUGEPAGE Message-ID: <20100126174928.GF16468@csn.ul.ie> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org To: Andrea Arcangeli Cc: linux-mm@kvack.org, Marcelo Tosatti , Adam Litke , Avi Kivity , Izik Eidus , Hugh Dickins , Nick Piggin , Rik van Riel , Andi Kleen , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , KAMEZAWA Hiroyuki , Christoph Lameter , Chris Wright , Andrew Morton , bpicco@redhat.com, Christoph Hellwig , KOSAKI Motohiro List-ID: On Tue, Jan 26, 2010 at 02:51:56PM +0100, Andrea Arcangeli wrote: > From: Andrea Arcangeli > > Define MADV_HUGEPAGE. > > Signed-off-by: Andrea Arcangeli Acked-by: Mel Gorman > --- > > diff --git a/include/asm-generic/mman-common.h b/include/asm-generic/mman-common.h > --- a/include/asm-generic/mman-common.h > +++ b/include/asm-generic/mman-common.h > @@ -45,6 +45,8 @@ > #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ > #define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages */ > > +#define MADV_HUGEPAGE 15 /* Worth backing with hugepages */ > + > /* compatibility flags */ > #define MAP_FILE 0 > > -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- 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