From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with SMTP id 3BD826B01E3 for ; Mon, 12 Apr 2010 09:55:20 -0400 (EDT) Message-ID: <4BC325D9.7030203@redhat.com> Date: Mon, 12 Apr 2010 16:53:29 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: hugepages will matter more in the future References: <4BC0E556.30304@redhat.com> <4BC19663.8080001@redhat.com> <4BC19916.20100@redhat.com> <20100411110015.GA10149@elte.hu> <4BC1B034.4050302@redhat.com> <20100411115229.GB10952@elte.hu> <20100412042230.5d974e5d@infradead.org> <20100412133019.GZ5656@random.random> <4BC3213E.40409@redhat.com> <20100412133952.GA5656@random.random> In-Reply-To: <20100412133952.GA5656@random.random> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Andrea Arcangeli Cc: Arjan van de Ven , Ingo Molnar , Jason Garrett-Glaser , Mike Galbraith , Linus Torvalds , Pekka Enberg , Andrew Morton , linux-mm@kvack.org, Marcelo Tosatti , Adam Litke , Izik Eidus , Hugh Dickins , Nick Piggin , Rik van Riel , Mel Gorman , Dave Hansen , Benjamin Herrenschmidt , Mike Travis , KAMEZAWA Hiroyuki , Christoph Lameter , Chris Wright , bpicco@redhat.com, KOSAKI Motohiro , Balbir Singh , Arnd Bergmann , "Michael S. Tsirkin" , Peter Zijlstra , Johannes Weiner , Daisuke Nishimura List-ID: On 04/12/2010 04:39 PM, Andrea Arcangeli wrote: > On Mon, Apr 12, 2010 at 04:33:50PM +0300, Avi Kivity wrote: > >> So where does the pagetable go? >> > They're preallocated together with the hugepage and queued into the mm > to retain locality. This way a huge pmd can be converted to a regular > pmd pointing to the preallocated pte on the fly without GFP_KERNEL > allocations. > Oh. Well I hope this can be eliminated in the future somehow. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. -- 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