mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 18:41:00 +07:00
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>
This commit is contained in:
parent
4a35c13cb8
commit
ef691947d8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user