> Using a high VMA count usually implies that the application is doing
something suboptimal. Having many VMAs can degrade performance of MM
operations and result in memory waste.
> Running into VMA limits usually implies that the application is not
optimized and should handle things differently. Likely, the memory
allocator is doing something "bad" (e.g., mmap()+munmap() instead of
MADV_DONTNEED) and should be optimized.
> Running into VMA limits usually implies that the application is not optimized and should handle things differently. Likely, the memory allocator is doing something "bad" (e.g., mmap()+munmap() instead of MADV_DONTNEED) and should be optimized.
https://lore.kernel.org/lkml/1a91e772-4150-4d28-9c67-cb6d047...