Re: hugetlb demand paging patch part [0/3]

From: 'David Gibson' <>
Date: 2004-04-16 14:02:32
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	| solution which is simple, neat and
				| wrong.
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Fri Apr 16 00:05:00 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:25 EST