Re: Why preallocate pmd in x86 32-bit PAE?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: William Lee Irwin III <wli@...>, Andi Kleen <ak@...>, Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, Nick Piggin <nickpiggin@...>, H. Peter Anvin <hpa@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Friday, November 16, 2007 - 3:14 pm

Linus Torvalds wrote:

Yes, OK, it makes sense.  Conceptually they would be dynamically
allocated and freed, but they'd just happen to start allocated, to avoid
the tlb flush of populating the pgd of an active pagetable.  If you
happened to do a 1G munmap, it may end up freeing and reallocating them,
but that's going to be very rare.  Either way, the other special cases
are avoided (though pgd_populate would still need to be correct, on the
offchance it gets invoked).

    J
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Why preallocate pmd in x86 32-bit PAE?, Jeremy Fitzhardinge, (Thu Nov 15, 5:57 pm)
Re: Why preallocate pmd in x86 32-bit PAE?, Linus Torvalds, (Thu Nov 15, 6:12 pm)
Re: Why preallocate pmd in x86 32-bit PAE?, Jeremy Fitzhardinge, (Fri Nov 16, 1:12 pm)
Re: Why preallocate pmd in x86 32-bit PAE?, H. Peter Anvin, (Fri Nov 16, 1:45 pm)
Re: Why preallocate pmd in x86 32-bit PAE?, Linus Torvalds, (Fri Nov 16, 1:35 pm)
Re: Why preallocate pmd in x86 32-bit PAE?, Jeremy Fitzhardinge, (Fri Nov 16, 3:14 pm)
Re: Why preallocate pmd in x86 32-bit PAE?, Linus Torvalds, (Fri Nov 16, 3:22 pm)
Re: Why preallocate pmd in x86 32-bit PAE?, Jeremy Fitzhardinge, (Fri Nov 16, 3:43 pm)
Re: Why preallocate pmd in x86 32-bit PAE?, Jeremy Fitzhardinge, (Fri Nov 16, 2:30 pm)
Re: Why preallocate pmd in x86 32-bit PAE?, H. Peter Anvin, (Thu Nov 15, 6:42 pm)
Re: Why preallocate pmd in x86 32-bit PAE?, William Lee Irwin III, (Thu Nov 15, 8:40 pm)
Re: Why preallocate pmd in x86 32-bit PAE?, H. Peter Anvin, (Thu Nov 15, 8:41 pm)
Re: Why preallocate pmd in x86 32-bit PAE?, Andi Kleen, (Fri Nov 16, 7:16 am)
Re: Why preallocate pmd in x86 32-bit PAE?, H. Peter Anvin, (Fri Nov 16, 11:45 am)
Re: Why preallocate pmd in x86 32-bit PAE?, Andi Kleen, (Fri Nov 16, 11:53 am)
Re: Why preallocate pmd in x86 32-bit PAE?, H. Peter Anvin, (Fri Nov 16, 12:10 pm)