Re: additional oom-killer tuneable worth submitting?

From: Chris Friesen
Date: Thu Dec 07 2006 - 16:27:21 EST


Peter Zijlstra wrote:
On Thu, 2006-12-07 at 12:30 -0600, Chris Friesen wrote:

The "oom-thresh" value maps to the max expected memory consumption for that process. As long as a process uses less memory than the specified threshold, then it is immune to the oom-killer.

You would need to specify the measure of memory used by your process;
see the (still not resolved) RSS debate.

Currently we simply use mm->total_vm, same as the oom killer.

Chris
-
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/