Re: [BUGFIX][PATCH] oom-kill: fix NUMA consraint check with nodemaskv4.2

From: David Rientjes
Date: Tue Dec 15 2009 - 00:03:19 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/