All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: mikpelinux.gmail.com@avx2.kvack.org
Cc: linux-kernel@vger.kernel.org, mhocko@kernel.org,
	willy@infradead.org, ak@linux.intel.com, linux-mm@kvack.org
Subject: Re: [PATCH] mm: disable `vm.max_map_count' sysctl limit
Date: Mon, 27 Nov 2017 22:46:03 +0300	[thread overview]
Message-ID: <20171127194603.GA28115@avx2> (raw)

> 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.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: Alexey Dobriyan <adobriyan@gmail.com>
To: mikpelinux.gmail.com@avx2
Cc: linux-kernel@vger.kernel.org, mhocko@kernel.org,
	willy@infradead.org, ak@linux.intel.com, linux-mm@kvack.org
Subject: Re: [PATCH] mm: disable `vm.max_map_count' sysctl limit
Date: Mon, 27 Nov 2017 22:46:03 +0300	[thread overview]
Message-ID: <20171127194603.GA28115@avx2> (raw)

> 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.

             reply	other threads:[~2017-11-27 19:46 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-27 19:46 Alexey Dobriyan [this message]
2017-11-27 19:46 ` [PATCH] mm: disable `vm.max_map_count' sysctl limit Alexey Dobriyan
2017-11-27 19:47 ` Alexey Dobriyan
2017-11-27 19:47   ` Alexey Dobriyan
  -- strict thread matches above, loose matches on Subject: below --
2017-11-26 16:09 Mikael Pettersson
2017-11-26 16:09 ` Mikael Pettersson
2017-11-26 16:09 ` Mikael Pettersson
2017-11-27 10:12 ` Michal Hocko
2017-11-27 10:12   ` Michal Hocko
2017-11-27 16:22   ` Matthew Wilcox
2017-11-27 16:22     ` Matthew Wilcox
     [not found]     ` <20171127162207.GA8265-PfSpb0PWhxZc2C7mugBRk2EX/6BAtgUQ@public.gmane.org>
2017-11-27 19:28       ` Mikael Pettersson
2017-11-27 19:28         ` Mikael Pettersson
2017-11-27 19:28         ` Mikael Pettersson
2017-11-27 17:25   ` Andi Kleen
2017-11-27 17:25     ` Andi Kleen
     [not found]     ` <87vahv8whv.fsf-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-11-27 18:32       ` Michal Hocko
2017-11-27 18:32         ` Michal Hocko
2017-11-27 18:32         ` Michal Hocko
2017-11-27 19:57         ` Michal Hocko
2017-11-27 19:57           ` Michal Hocko
     [not found]           ` <20171127195732.3hkfx57d3ytyccvp-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2017-11-27 20:21             ` Andi Kleen
2017-11-27 20:21               ` Andi Kleen
2017-11-27 20:21               ` Andi Kleen
2017-11-27 20:52               ` Michal Hocko
2017-11-27 20:52                 ` Michal Hocko
2017-11-27 19:36     ` Mikael Pettersson
2017-11-27 19:36       ` Mikael Pettersson
     [not found]   ` <20171127101232.ykriowhatecnvjvg-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2017-11-27 19:18     ` Mikael Pettersson
2017-11-27 19:18       ` Mikael Pettersson
2017-11-27 19:18       ` Mikael Pettersson
     [not found]       ` <CAM43=SPVvBTPz31Uu=iz3fpS9tb75uSmL=pYP3AfsfmYr9u4Og-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-27 19:52         ` Michal Hocko
2017-11-27 19:52           ` Michal Hocko
2017-11-27 19:52           ` Michal Hocko
     [not found]           ` <20171127195207.vderbbkbgygawuhx-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2017-11-27 23:26             ` John Hubbard
2017-11-27 23:26               ` John Hubbard
2017-11-27 23:26               ` John Hubbard
2017-11-27 23:26               ` John Hubbard
2017-11-28  8:12               ` Michal Hocko
2017-11-28  8:12                 ` Michal Hocko
2017-11-29  5:14                 ` John Hubbard
2017-11-29  5:14                   ` John Hubbard
2017-11-29  5:14                   ` John Hubbard
     [not found]                   ` <5ca7d54b-5ae4-646d-f3a0-9b85129c9ccf-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-11-29  8:32                     ` Michal Hocko
2017-11-29  8:32                       ` Michal Hocko
2017-11-29  8:32                       ` Michal Hocko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171127194603.GA28115@avx2 \
    --to=adobriyan@gmail.com \
    --cc=ak@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@kernel.org \
    --cc=mikpelinux.gmail.com@avx2.kvack.org \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.