On Thu, May 8, 2014 at 9:02 AM, Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> wrote: > >> i.e. if you remove or >> emulate remap_file_pages(), please increase the default limit as well. > > It's fine to me. Andrew? Not Andrew, but one thing we might look at is to make the limit per-user rather than per-vm. Because the vma limit isn't _just_ about the ELF core dump format (although the default value for it is), it's also about making it harder for people to use up tons of kernel memory in non-obvious ways. (There are possibly also latency issues for process exit or big munmap, I'm not sure how big a deal that is any more. Our find_vma() should certainly scale fine, so the most obvious "tons of vma's" problems are long gone) Linus -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>