Re: i386 and PAE: pud_present()



On Sunday 30 April 2006 08:07, Dave McCracken wrote:

--On Friday, April 28, 2006 10:27:21 +0200 Andi Kleen <ak@xxxxxxx> wrote:

Take a look a little further down the page for the comment.

In i386 + PAE, pud is always present.

I think his problem is that the PGD is always present too (in
pgtables-nopud.h) Indeed looks strange.

The PGD is always fully populated on i386 if PAE is enabled. All three of
the pmd pages are allocated at page table creation time and persist till
the page table is deleted.

At least with the new flexmmap it sounds like a waste of memory.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: i386 and PAE: pud_present()
    ... pud is always present. ... The PGD is always fully populated on i386 if PAE is enabled. ... the pmd pages are allocated at page table creation time and persist till ...
    (Linux-Kernel)
  • Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.
    ... Copying PMDs is more or less an analogous case of the!PAE case, ... The allocation should be trivial though, ... Xen and do the memcpy of pgd entries. ...
    (Linux-Kernel)
  • Re: [PATCH 1/1] i386 Encapsulate copying of pgd entries
    ... >Why memset was never done on PAE? ... Add a clone operation for pgd updates. ... * dst - pointer to pgd range anwhere on a pgd page ...
    (Linux-Kernel)
  • Re: i386 and PAE: pud_present()
    ... In i386 + PAE, pud is always present. ... pgtables-nopud.h) Indeed looks strange. ... The PGD is always fully populated on i386 if PAE is enabled. ...
    (Linux-Kernel)
  • Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.
    ... although I had some very unkind words to say about it, it mirrors what we have to do for the!PAE case anyway, so it can be sort of glossed over. ... then both cases are a matter of copying a set of entries from one place in the pgd to another. ... Copying PMDs is more or less an analogous case of the!PAE case, once the allocation is already done. ...
    (Linux-Kernel)