Re: [PATCH] [134/223] exec: make argv/envp memory visible tooom-killer

From: Andi Kleen
Date: Mon Dec 13 2010 - 10:10:58 EST


On Mon, Dec 13, 2010 at 12:18:59PM +0100, Oleg Nesterov wrote:
> On 12/13, Andi Kleen wrote:
> >
> > 2.6.35-longterm review patch. If anyone has any objections, please let me know.
> >
> > ------------------
> > From: Oleg Nesterov <oleg@xxxxxxxxxx>
>
> Nack ;)
>
> > With this patch get_arg_page() increments current's MM_ANONPAGES
> > counter every time we allocate the new page for argv/envp. When
> > do_execve() succeds or fails, we change this counter back.
>
> This works starting from 2.6.36.

I replaced the patch. Thanks.
-Andi
--
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/