Thread (10 messages) 10 messages, 4 authors, 2017-11-29

Re: [PATCH] mm: disable `vm.max_map_count' sysctl limit

From: Matthew Wilcox <willy@infradead.org>
Date: 2017-11-27 16:22:07
Also in: linux-fsdevel, linux-mm, lkml

On Mon, Nov 27, 2017 at 11:12:32AM +0100, Michal Hocko wrote:
On Sun 26-11-17 17:09:32, Mikael Pettersson wrote:
quoted
- Reaching the limit causes various memory management system calls to
  fail with ENOMEM, which is a lie.  Combined with the unpredictability
  of the number of mappings in a process, especially when non-trivial
  memory management or heavy file mapping is used, it can be difficult
  to reproduce these events and debug them.  It's also confusing to get
  ENOMEM when you know you have lots of free RAM.
[snip]
Could you be more explicit about _why_ we need to remove this tunable?
I am not saying I disagree, the removal simplifies the code but I do not
really see any justification here.
I imagine he started seeing random syscalls failing with ENOMEM and
eventually tracked it down to this stupid limit we used to need.

--
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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help