Re: [PATCH] oom killer (Core)
From: William Lee Irwin III
Date: Fri Dec 10 2004 - 13:01:52 EST
On Fri, Dec 10, 2004 at 06:49:38PM +0100, Andrea Arcangeli wrote:
> Your patch was orthogonal to mine, so I didn't merge it. Go figure that
> every time I post something it gets splitted into trivial pieces, so
> it's a waste of time to try to merge any additional patch and post a
> final one since it'll never be final anyway.
> I am about to merge the things together for some other tree (not
> mainline), that is a worthwhile effort but with the split behaviour of
> mainline, for mainline it'd be a waste of time.
> One last thing worth discussing on my side is if we should worry about
> the tiny race between the watermark checks and the entering of the oom
> killing. In theory we could wrap the thing around a semaphore and close
> the race completely, though current code is simpler and as you find
> it works fine in practice.
The easy way to fix that issue is to take the whole diff and break off
pieces, with the remainder always as the last patch. That way the whole
set of changes stays pending and appears intact at the end of the series.
I will personally be held responsible for identifying the causes of
behavioral changes in the OOM killer, and am having to investigate
several instances of bad OOM killer behavior already, so I have to do
this anyway, and so it might as well be done for mainline.
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/