Re: [PATCH v4 001/002] mm: limit growth of 3% hardcoded other user reserve

2013-03-06 Thread Andrew Shewmaker
On Wed, Mar 06, 2013 at 07:46:29AM +0800, Simon Jeons wrote: > On 03/06/2013 07:38 AM, Andrew Shewmaker wrote: > >Limit the growth of the memory reserved for other processes > >to the smaller of 3% or 8MB. > > > >This affects only OVERCOMMIT_NEVER. > > > >Signed-off-by: Andrew Shewmaker > > Pleas

Re: [PATCH v4 001/002] mm: limit growth of 3% hardcoded other user reserve

2013-03-05 Thread Simon Jeons
On 03/06/2013 07:38 AM, Andrew Shewmaker wrote: Limit the growth of the memory reserved for other processes to the smaller of 3% or 8MB. This affects only OVERCOMMIT_NEVER. Signed-off-by: Andrew Shewmaker Please add changelog, otherwise it's for other guys to review. --- Rebased onto v3.

[PATCH v4 001/002] mm: limit growth of 3% hardcoded other user reserve

2013-03-05 Thread Andrew Shewmaker
Limit the growth of the memory reserved for other processes to the smaller of 3% or 8MB. This affects only OVERCOMMIT_NEVER. Signed-off-by: Andrew Shewmaker --- Rebased onto v3.8-mmotm-2013-03-01-15-50 No longer assumes 4kb pages. Code duplicated for nommu. diff --git a/mm/mmap.c b/mm/mmap.c