summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-12-02 00:45:48 +0100
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2011-05-20 23:14:32 +0200
commitef691947d8a3d479e67652312783aedcf629320a (patch)
tree0ea82e411a6c2cd450238ce1898cf4acb30985ff /mm/vmalloc.c
parentxen: condense everything onto xen_set_pte (diff)
downloadlinux-ef691947d8a3d479e67652312783aedcf629320a.tar.xz
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);