Re: [PATCH 6/9] oom: use same_thread_group instead comparing ->mm

From: KOSAKI Motohiro
Date: Wed Jun 16 2010 - 21:55:01 EST


> On Wed, Jun 16, 2010 at 08:34:02PM +0900, KOSAKI Motohiro wrote:
> > Now, oom are using "child->mm != p->mm" check to distinguish subthread.
> > But It's incorrect. vfork() child also have the same ->mm.
> >
> > This patch change to use same_thread_group() instead.
>
> Hmm. I think we don't use it to distinguish subthread.
> We use it for finding child process which is not vforked.
>
> I can't understand your point.

Thank you. my fault. respin.



--
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/