mirror of https://github.com/Cisco-Talos/clamav
Scanning /dev/shm on an old kernel is serialized due to the additional mmap contention that fmap_aging generates. With this change it regains some parallelism (still not optimal), and it also helps on newer kernels (less mmap calls is always good). This patch makes just one mmap call for an entire range of pages, if we try to unmap adjacent pages.remotes/push_mirror/vc9-vt-dnd
parent
b33354e55c
commit
450d030a3d
Loading…
Reference in new issue