diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2010-12-02 00:45:48 +0100 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2011-05-20 23:14:32 +0200 |
commit | ef691947d8a3d479e67652312783aedcf629320a (patch) | |
tree | 0ea82e411a6c2cd450238ce1898cf4acb30985ff /mm/vmalloc.c | |
parent | xen: condense everything onto xen_set_pte (diff) | |
download | linux-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.c | 4 |
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); |