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    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site