News for hackers. Stuff that matters.
Re:Linux memory overcommit (compared to airlines selling tic... by rcxdude on Friday May 13, 2011 @06:53PM (#2546538)
it seems the latest kernel doesn't use the more complex heuristics that it used to (preserving longer running tasks, for example) and just goes off the proportion of memory used by the process, with a 3% bonus for the superuser. However it does also adjust the score by the value in /proc/pid/oom_score_adj (which can completly disable or completely favour the process) and so you could probably write a userspace daemon which updated this value based on whatever heuristics you want (although you'd have to do it before the OOM condition).

There are no comments on this comment yet.