Re: [PATCH/RFC] Shared page tables

Robin Holt
2006-01-18T03:32:54Z

On Tue, Jan 17, 2006 at 05:27:09PM -0800, Chen, Kenneth W wrote:
> Robin Holt wrote on Tuesday, January 17, 2006 3:53 PM
> > This appears to work on ia64 with the attached patch. Could you
> > send me any test application you think would be helpful for me
> > to verify it is operating correctly? I could not get the PTSHARE_PUD
> > to compile. I put _NO_ effort into it. I found the following line
> > was invalid and quit trying.
> >
> > --- linux-2.6.orig/arch/ia64/Kconfig 2006-01-14 07:16:46.149226872 -0600
> > +++ linux-2.6/arch/ia64/Kconfig 2006-01-14 07:25:02.228853432 -0600
> > @@ -289,6 +289,38 @@ source "mm/Kconfig"
> > config ARCH_SELECT_MEMORY_MODEL
> > def_bool y
> >
> > +
> > +config PTSHARE_HUGEPAGE
> > + bool
> > + depends on PTSHARE && PTSHARE_PMD
> > + default y
> > +
>
> You need to thread carefully with hugetlb ptshare on ia64. PTE for
> hugetlb page on ia64 observe full page table levels, not like x86
> that sits in the pmd level.

I did no testing with hugetlb pages.

Robin