Commit ef691947 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge

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: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
parent 4a35c13c
...@@ -2148,10 +2148,6 @@ struct vm_struct *alloc_vm_area(size_t size) ...@@ -2148,10 +2148,6 @@ struct vm_struct *alloc_vm_area(size_t size)
return NULL; return NULL;
} }
/* Make sure the pagetables are constructed in process kernel
mappings */
vmalloc_sync_all();
return area; return area;
} }
EXPORT_SYMBOL_GPL(alloc_vm_area); EXPORT_SYMBOL_GPL(alloc_vm_area);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment