Re: [PATCH v3] mm: warn about VmData over RLIMIT_DATA

2016-01-27 Thread Konstantin Khlebnikov
On Wed, Jan 27, 2016 at 1:49 AM, Andrew Morton wrote: > On Sat, 23 Jan 2016 23:52:29 +0300 Konstantin Khlebnikov > wrote: > >> This patch fixes 84638335900f ("mm: rework virtual memory accounting") > > uh, I think I'll rewrite this to > > : This patch provides a way of working around a slight re

Re: [PATCH v3] mm: warn about VmData over RLIMIT_DATA

2016-01-26 Thread Andrew Morton
On Sat, 23 Jan 2016 23:52:29 +0300 Konstantin Khlebnikov wrote: > This patch fixes 84638335900f ("mm: rework virtual memory accounting") uh, I think I'll rewrite this to : This patch provides a way of working around a slight regression introduced : by 84638335900f ("mm: rework virtual memory a

[PATCH v3] mm: warn about VmData over RLIMIT_DATA

2016-01-23 Thread Konstantin Khlebnikov
This patch fixes 84638335900f ("mm: rework virtual memory accounting") Before that commit RLIMIT_DATA have control only over size of the brk region. But that change have caused problems with all existing versions of valgrind, because it set RLIMIT_DATA to zero. This patch fixes rlimit check (limi