From: Jeremy Fitzhardinge Date: Wed, 1 Dec 2010 23:45:48 +0000 (-0800) Subject: vmalloc: remove vmalloc_sync_all() from alloc_vm_area() X-Git-Tag: v3.0-rc1~52^2~6 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=ef691947d8a3;p=~shefty%2Frdma-dev.git 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 --- diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 5d6030235d7..fdf4b1e88e5 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);