Re: [PATCH] fix spurious OOM kills

From: Chris Ross
Date: Wed Nov 17 2004 - 08:20:49 EST




Andrew Morton escreveu:
Please ignore the previous patch and try the below.

Running 2.6.10-rc2-mm1 with just your new patch. It's got through the
first tests, building umlsim whilst simultaneously doing an 'emerge
sync' (this is a Gentoo box). I'll now try harder to break it.

It looks like Rik's analysis is correct: when the caller doesn't have
the swap token it just cannot reclaim referenced pages and scans its
way into an oom. Defeating that logic when we've hit the highest
scanning priority does seem to fix the problem and those nice qsbench
numbers which the thrashing control gave us appear to be unaffected.

I assume Rik's analysis was not copied to the list? If it was I missed it. Is your summary fairly complete?

Regards,
Chris R.
-
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/