Re: [RFC] atomic pte updates for x86 smp

Ingo Molnar
2000-10-12T10:05:48Z

On Thu, 12 Oct 2000, David S. Miller wrote:

> clear neither user-space pgds, nor user-space pmds in PAE mode
>
> Eh?
>
> munmap() --> clear_page_tables() --> free_one_pgd() --> pgd_clear

you are right, i was focused too much on the swapping case. I dont think
munmap() is a problem in the PAE case. pgd_clear() should stay a 64-bit
operation (like in Ben's patch) because we could get a legitimate TLB
flush between two 32-bit writes. (the 4 pgd entries are otherwise cached
in the CPU core, only TLB flushes reload them.)

Ingo