Re: [patch] mm, oom: base root bonus on current usage

Johannes Weiner
2014-01-26T15:27:36Z

On Sat, Jan 25, 2014 at 07:48:32PM -0800, David Rientjes wrote:
> A 3% of system memory bonus is sometimes too excessive in comparison to
> other processes and can yield poor results when all processes on the
> system are root and none of them use over 3% of memory.
>
> Replace the 3% of system memory bonus with a 3% of current memory usage
> bonus.
>
> Reported-by: Johannes Weiner <hannes@cmpxchg.org>
> Signed-off-by: David Rientjes <rientjes@google.com>

Looks good, thanks a lot!

Acked-by: Johannes Weiner <hannes@cmpxchg.org>