lkml.org 
[lkml]   [2010]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [134/223] exec: make argv/envp memory visible to oom-killer
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@redhat.com>
>
> 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


\
 
 \ /
  Last update: 2010-12-13 16:39    [from the cache]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site