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:43 pm

Linus Torvalds wrote:

Not for 32-bit at the moment, but it does in principle.  munmap ends up
calling free_pgtables, and so ends up calling pmd_free_range.  That will
do a pud_clear to detach the pmd from the pagetable and call
__pmd_free_tlb, which ends up doing tlb_remove_page ->
free_page_and_swap_cache.  32-bit knobbles all this at the moment, but
it looks to me like it wouldn't be hard to make this work if the code is
all common with 64-bit.

    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)