Hi Dave, On 19 May 2014 19:50, Dave Hansen <dave.han...@intel.com> wrote: > We keep the current count as mm->map_count in the kernel, and the limit > is available because it's a sysctl. It wouldn't be hard to dump > mm->map_count out in a /proc file somewhere if it would be useful to > you. Would that work, or is there some other interface that would be > more convenient?
We can keep an in-process estimate of this value anyway. The sysctl to get vm.max_map_count is all we need. That is, unless the limit is moved to be per-user instead of per-process, as I think was discussed here --- which would complicate further our job :-/ A bientôt, Armin. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/