summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-12-01 15:45:48 -0800
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2011-05-20 14:14:32 -0700
commitef691947d8a3d479e67652312783aedcf629320a (patch)
tree0ea82e411a6c2cd450238ce1898cf4acb30985ff /mm/vmalloc.c
parent4a35c13cb808c63dd151bdd507b749e97231ef91 (diff)
downloadlinux-ef691947d8a3d479e67652312783aedcf629320a.tar.gz
linux-ef691947d8a3d479e67652312783aedcf629320a.tar.bz2
linux-ef691947d8a3d479e67652312783aedcf629320a.zip
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>
Diffstat (limited to 'mm/vmalloc.c')
-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)
return NULL;
}
- /* Make sure the pagetables are constructed in process kernel
- mappings */
- vmalloc_sync_all();
-
return area;
}
EXPORT_SYMBOL_GPL(alloc_vm_area);