vmalloc: remove vmalloc_sync_all() from alloc_vm_area()
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Wed, 1 Dec 2010 23:45:48 +0000 (15:45 -0800)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 20 May 2011 21:14:32 +0000 (14:14 -0700)
There's no need for it: it will get faulted into the current pagetable
as needed.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
mm/vmalloc.c

index 5d6030235d7a8e4462498e6d9154ca97029069ed..fdf4b1e88e5303a9a89b3df0a1b1fe4983d1cd5c 100644 (file)
@@ -2148,10 +2148,6 @@ struct vm_struct *alloc_vm_area(size_t size)
                return NULL;
        }
 
-       /* Make sure the pagetables are constructed in process kernel
-          mappings */
-       vmalloc_sync_all();
-
        return area;
 }
 EXPORT_SYMBOL_GPL(alloc_vm_area);