Messages in this thread | | | Date | Wed, 17 Nov 2004 07:09:15 -0500 (EST) | From | Rik van Riel <> | Subject | Re: [PATCH] fix spurious OOM kills |
| |
On Wed, 17 Nov 2004, Marcelo Tosatti wrote:
> So even when reaping referenced pages on zero priority scanning > the OOM killer might be triggered in extreme cases. And as the > number of tasks increases the chances things go wrong increase.
Ignoring the referenced bit should also make the system "immune" from the "fake" references that the swap token holding task will show.
However, since it also ignores real referenced bits, it might mess up VM balancing a bit, which is what Andrew was worried about.
> Please test Andrew's patch, its hopefully good enough for most > scenarios. Extreme cases are probably still be problematic.
Actually, because Andrew's patch makes the real referenced bit stand, but ignores the "fake" reference that the swap token gives, I suspect it'll make this swap token corner case a lot "softer" than my patch.
-- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |