lkml.org 
[lkml]   [2009]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUGFIX][PATCH] oom-kill: fix NUMA consraint check with nodemask v4.2
On Tue, 15 Dec 2009, KOSAKI Motohiro wrote:

> To compare vsz is only meaningful when the same program are compared.
> But oom killer don't. To compare vsz between another program DONT detect
> any memory leak.
>

You're losing the ability to detect that memory leak because you'd be
using a baseline that userspace cannot possibly know at the time of oom.
You cannot possibly insist that users understand the amount of resident
memory for all applications when tuning the heuristic adjuster from
userspace.

In other words, how do you plan on userspace being able to identify tasks
that are memory leakers if you change the baseline to rss? Unless you
have an answer to this question, you're not admitting the problem that
the oom killer is primarily designed to address.


\
 
 \ /
  Last update: 2009-12-15 06:05    [W:0.149 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site