From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by py-out-1112.google.com with SMTP id f47so3448589pye.20 for ; Tue, 25 Mar 2008 17:34:13 -0700 (PDT) Message-ID: Date: Tue, 25 Mar 2008 18:34:13 -0600 From: "David Mosberger-Tang" Subject: Re: larger default page sizes... In-Reply-To: <87tziu5q37.wl%peter@chubb.wattle.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080324.144356.104645106.davem@davemloft.net> <20080325.162244.61337214.davem@davemloft.net> <87tziu5q37.wl%peter@chubb.wattle.id.au> Sender: owner-linux-mm@kvack.org Return-Path: To: Peter Chubb Cc: David Miller , clameter@sgi.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, torvalds@linux-foundation.org, ianw@gelato.unsw.edu.au List-ID: On Tue, Mar 25, 2008 at 5:41 PM, Peter Chubb wrote: > The main issue is that, at least on Itanium, you have to turn off the hardware > page table walker for hugepages if you want to mix superpages and > standard pages in the same region. (The long format VHPT isn't the > panacea we'd like it to be because the hash function it uses depends > on the page size). Why not just repeat the PTEs for super-pages? That won't work for huge pages, but for superpages that are a reasonable multiple (e.g., 16-times) the base-page size, it should work nicely. --david -- Mosberger Consulting LLC, http://www.mosberger-consulting.com/ -- 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