diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2010-12-01 15:45:48 -0800 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2011-05-20 14:14:32 -0700 |
commit | ef691947d8a3d479e67652312783aedcf629320a (patch) | |
tree | 0ea82e411a6c2cd450238ce1898cf4acb30985ff | |
parent | 4a35c13cb808c63dd151bdd507b749e97231ef91 (diff) | |
download | op-kernel-dev-ef691947d8a3d479e67652312783aedcf629320a.zip op-kernel-dev-ef691947d8a3d479e67652312783aedcf629320a.tar.gz |
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 <jeremy.fitzhardinge@citrix.com>
-rw-r--r-- | mm/vmalloc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 5d60302..fdf4b1e 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); |