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@...>
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
-