linux/arch/um/include
Johannes Berg 80f849bf54 um: implement flush_cache_vmap/flush_cache_vunmap
vmalloc() heavy workloads in UML are extremely slow, due to
flushing the entire kernel VM space (flush_tlb_kernel_vm())
on the first segfault.

Implement flush_cache_vmap() to avoid that, and while at it
also add flush_cache_vunmap() since it's trivial.

This speeds up my vmalloc() heavy test of copying files out
from /sys/kernel/debug/gcov/ by 30x (from 30s to 1s.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2021-06-17 22:04:40 +02:00
..
asm um: implement flush_cache_vmap/flush_cache_vunmap 2021-06-17 22:04:40 +02:00
linux um: virtio/pci: enable suspend/resume 2021-06-17 21:45:44 +02:00
shared um: Add support for host CPU flags and alignment 2021-06-17 22:01:26 +02:00
uapi/asm um: Fix W=1 missing-include-dirs warnings 2021-04-15 23:10:57 +02:00