aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-12-01 18:45:48 -0500
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2011-05-20 17:14:32 -0400
commitef691947d8a3d479e67652312783aedcf629320a (patch)
tree0ea82e411a6c2cd450238ce1898cf4acb30985ff
parent4a35c13cb808c63dd151bdd507b749e97231ef91 (diff)
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.c4
1 files changed, 0 insertions, 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)
2148 return NULL; 2148 return NULL;
2149 } 2149 }
2150 2150
2151 /* Make sure the pagetables are constructed in process kernel
2152 mappings */
2153 vmalloc_sync_all();
2154
2155 return area; 2151 return area;
2156} 2152}
2157EXPORT_SYMBOL_GPL(alloc_vm_area); 2153EXPORT_SYMBOL_GPL(alloc_vm_area);