From ef691947d8a3d479e67652312783aedcf629320a Mon Sep 17 00:00:00 2001 From: Jeremy Fitzhardinge Date: Wed, 1 Dec 2010 15:45:48 -0800 Subject: [PATCH] vmalloc: remove vmalloc_sync_all() from alloc_vm_area() There's no need for it: it will get faulted into the current pagetable as needed. Signed-off-by: Jeremy Fitzhardinge --- mm/vmalloc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 5d6030235d7a..fdf4b1e88e53 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -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); -- 2.20.1