Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262217AbUDPEEc (ORCPT ); Fri, 16 Apr 2004 00:04:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262208AbUDPEEc (ORCPT ); Fri, 16 Apr 2004 00:04:32 -0400 Received: from ozlabs.org ([203.10.76.45]:54167 "EHLO ozlabs.org") by vger.kernel.org with ESMTP id S262170AbUDPEE3 (ORCPT ); Fri, 16 Apr 2004 00:04:29 -0400 Date: Fri, 16 Apr 2004 14:02:32 +1000 From: "'David Gibson'" To: "Chen, Kenneth W" Cc: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, lse-tech@lists.sourceforge.net, raybry@sgi.com, "'Andy Whitcroft'" , Andrew Morton Subject: Re: hugetlb demand paging patch part [0/3] Message-ID: <20040416040231.GA13552@zax> Mail-Followup-To: 'David Gibson' , "Chen, Kenneth W" , linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, lse-tech@lists.sourceforge.net, raybry@sgi.com, 'Andy Whitcroft' , Andrew Morton References: <20040416033251.GH12735@zax> <200404160343.i3G3h8F13447@unix-os.sc.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404160343.i3G3h8F13447@unix-os.sc.intel.com> User-Agent: Mutt/1.5.5.1+cvs20040105i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1315 Lines: 27 On Thu, Apr 15, 2004 at 08:43:08PM -0700, Chen, Kenneth W wrote: > David Gibson wrote on Thursday, April 15, 2004 8:33 PM > > To unify even the non-ppc64 archs we already have to allow for the > > hugepage pagetables to have different structure across archs - on i386 > > and ppc64 the hugePTEs lie in PMD slots, on sparc64 and sh they lie in > > (normal) PTE slots and on IA64 they lie in the PTE slots of a special > > set of pagetables. Given that, it seems conceptually logical to me > > that we also not assume the hugepage PTEs have the same layout as > > normal PTEs. It makes the handle_mm_fault function not the least more > > complicated. > > Correction: huge page pte on ia64 has the same format as a normal page pte. Yes, the PTEs have the same format, but the page table layout is not identical (it's almost the same, but the address is shifted right before doing the lookup). -- David Gibson | For every complex problem there is a david AT gibson.dropbear.id.au | solution which is simple, neat and | wrong. http://www.ozlabs.org/people/dgibson - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/