The patch titled vmalloc: remove vmap_lazy_unmap flag has been removed from the -mm tree. Its filename was vmalloc-eagerly-clear-ptes-on-vunmap-fix-2.patch This patch was dropped because it was folded into vmalloc-eagerly-clear-ptes-on-vunmap.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: vmalloc: remove vmap_lazy_unmap flag From: Jeremy Fitzhardinge <jeremy@xxxxxxxx> Now that vmunmap no longer leaves stray ptes lying around, we don't need the vmap_lazy_unmap flag any more. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx> Cc: Nick Piggin <npiggin@xxxxxxxxx> Cc: Bryan Schumaker <bjschuma@xxxxxxxxxx> Cc: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx> Cc: Alex Elder <aelder@xxxxxxx> Cc: Dave Chinner <david@xxxxxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/xen/mmu.c | 2 -- include/linux/vmalloc.h | 2 -- mm/vmalloc.c | 5 ----- 3 files changed, 9 deletions(-) diff -puN arch/x86/xen/mmu.c~vmalloc-eagerly-clear-ptes-on-vunmap-fix-2 arch/x86/xen/mmu.c --- a/arch/x86/xen/mmu.c~vmalloc-eagerly-clear-ptes-on-vunmap-fix-2 +++ a/arch/x86/xen/mmu.c @@ -2415,8 +2415,6 @@ void __init xen_init_mmu_ops(void) x86_init.paging.pagetable_setup_done = xen_pagetable_setup_done; pv_mmu_ops = xen_mmu_ops; - vmap_lazy_unmap = false; - memset(dummy_mapping, 0xff, PAGE_SIZE); } diff -puN include/linux/vmalloc.h~vmalloc-eagerly-clear-ptes-on-vunmap-fix-2 include/linux/vmalloc.h --- a/include/linux/vmalloc.h~vmalloc-eagerly-clear-ptes-on-vunmap-fix-2 +++ a/include/linux/vmalloc.h @@ -7,8 +7,6 @@ struct vm_area_struct; /* vma defining user mapping in mm_types.h */ -extern bool vmap_lazy_unmap; - /* bits in flags of vmalloc's vm_struct below */ #define VM_IOREMAP 0x00000001 /* ioremap() and friends */ #define VM_ALLOC 0x00000002 /* vmalloc() */ diff -puN mm/vmalloc.c~vmalloc-eagerly-clear-ptes-on-vunmap-fix-2 mm/vmalloc.c --- a/mm/vmalloc.c~vmalloc-eagerly-clear-ptes-on-vunmap-fix-2 +++ a/mm/vmalloc.c @@ -31,8 +31,6 @@ #include <asm/tlbflush.h> #include <asm/shmparam.h> -bool vmap_lazy_unmap __read_mostly = true; - /*** Page table manipulation functions ***/ static void vunmap_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end) @@ -503,9 +501,6 @@ static unsigned long lazy_max_pages(void { unsigned int log; - if (!vmap_lazy_unmap) - return 0; - log = fls(num_online_cpus()); return log * (32UL * 1024 * 1024 / PAGE_SIZE); _ Patches currently in -mm which might be from jeremy@xxxxxxxx are linux-next.patch vmalloc-eagerly-clear-ptes-on-vunmap.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html