Revert "FROMGIT: mm/vmalloc: Add override for lazy vunmap"

Revert submission 2302443

Reason for revert: Series is not queued in a maintainer tree and has not been posted to a public mailing list.
Reverted Changes:
Iffd38bf97:FROMGIT: arm64: Work around Cortex-A510 erratum 24...
I694523564:FROMGIT: mm/vmalloc: Add override for lazy vunmap

Change-Id: I345e32bac76292413908b4a81295a228003fa4c0
Signed-off-by: Will Deacon <willdeacon@google.com>
This commit is contained in:
Will Deacon 2022-11-21 12:21:05 +00:00 committed by Treehugger Robot
parent 450a37133d
commit dcdb7eadfd
2 changed files with 0 additions and 7 deletions

View File

@ -245,8 +245,4 @@ pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms)
int register_vmap_purge_notifier(struct notifier_block *nb);
int unregister_vmap_purge_notifier(struct notifier_block *nb);
#ifndef arch_disable_lazy_vunmap
#define arch_disable_lazy_vunmap false
#endif
#endif /* _LINUX_VMALLOC_H */

View File

@ -1297,9 +1297,6 @@ static unsigned long lazy_max_pages(void)
{
unsigned int log;
if (arch_disable_lazy_vunmap)
return 0;
log = fls(num_online_cpus());
return log * (32UL * 1024 * 1024 / PAGE_SIZE);