Re: [RFC][-mm][PATCH 0/6] oom-killer: total renewal

From: David Rientjes
Date: Tue Nov 03 2009 - 15:34:25 EST


On Mon, 2 Nov 2009, KAMEZAWA Hiroyuki wrote:

> Hi, as discussed in "Memory overcommit" threads, I started rewrite.
>
> This is just for showing "I started" (not just chating or sleeping ;)
>
> All implemtations are not fixed yet. So feel free to do any comments.
> This set is for minimum change set, I think. Some more rich functions
> can be implemented based on this.
>
> All patches are against "mm-of-the-moment snapshot 2009-11-01-10-01"
>
> Patches are organized as
>
> (1) pass oom-killer more information, classification and fix mempolicy case.
> (2) counting swap usage
> (3) counting lowmem usage
> (4) fork bomb detector/killer
> (5) check expansion of total_vm
> (6) rewrite __badness().
>
> passed small tests on x86-64 boxes.
>

Thanks for looking into improving the oom killer!

I think it would be easier to merge the four different concepts you have
here:

- counting for swap usage (patch 2),

- oom killer constraint reorganization (patches 1 and 3),

- fork bomb detector (patch 4), and

- heuristic changes (patches 5 and 6)

into seperate patchsets and get them merged one at a time. I think patch
2 can easily be merged into -mm now, and patches 1 and 3 could be merged
after cleaned up. We'll probably need more discussion on the rest.

Patches 1 and 6 have whitespace damage, btw.
--
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/