Re: [PATCH -mm] copy over oom_adj value at fork time (v2)

From: David Rientjes
Date: Tue Jul 14 2009 - 23:42:26 EST


On Tue, 14 Jul 2009, Rik van Riel wrote:

> After moving the oom_adj value from the task struct to the
> mm_struct, the oom_adj value was no longer properly inherited
> by child processes.
>
> Copying over the oom_adj value at fork time fixes that bug.
>
> Signed-off-by: Rik van Riel <riel@xxxxxxxxxx>
> Reported-by: Paul Menage <manage@xxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
--
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/