Re: [PATCH] mm: disable `vm.max_map_count' sysctl limit
From: Alexey Dobriyan
Date: Mon Nov 27 2017 - 14:46:36 EST
> vm.max_map_count
I always thought it is some kind of algorithmic complexity limiter and
kernel memory limiter. VMAs are under SLAB_ACCOUNT nowadays but ->mmap
list stays:
$ chgrep -e 'for.*vma = vma->vm_next' | wc -l
41
In particular readdir on /proc/*/map_files .
I'm saying you can not simply remove this sysctl.