From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with ESMTP id 5A1D46B009A for ; Tue, 26 Jan 2010 14:34:30 -0500 (EST) Date: Tue, 26 Jan 2010 19:34:15 +0000 From: Mel Gorman Subject: Re: [PATCH 12 of 31] config_transparent_hugepage Message-ID: <20100126193415.GQ16468@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:52:07PM +0100, Andrea Arcangeli wrote: > From: Andrea Arcangeli > > Add config option. > > Signed-off-by: Andrea Arcangeli > --- > > diff --git a/mm/Kconfig b/mm/Kconfig > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -283,3 +283,17 @@ config NOMMU_INITIAL_TRIM_EXCESS > of 1 says that all excess pages should be trimmed. > > See Documentation/nommu-mmap.txt for more information. > + > +config TRANSPARENT_HUGEPAGE > + bool "Transparent Hugepage support" if EMBEDDED > + depends on X86_64 > + default y Are there embedded x86-64 boxen? I'm surprised it's not a normal option and is selected by default but don't have a problem with it as such. Acked-by: Mel Gorman > + help > + Transparent Hugepages allows the kernel to use huge pages and > + huge tlb transparently to the applications whenever possible. > + This feature can improve computing performance to certain > + applications by speeding up page faults during memory > + allocation, by reducing the number of tlb misses and by speeding > + up the pagetable walking. > + > + If memory constrained on embedded, you may want to say N. > -- 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