From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx108.postini.com [74.125.245.108]) by kanga.kvack.org (Postfix) with SMTP id 94AE96B005A for ; Fri, 29 Jun 2012 16:30:36 -0400 (EDT) Received: by pbbrp2 with SMTP id rp2so6147476pbb.14 for ; Fri, 29 Jun 2012 13:30:35 -0700 (PDT) Date: Fri, 29 Jun 2012 13:30:33 -0700 (PDT) From: David Rientjes Subject: Re: [rfc][patch 3/3] mm, memcg: introduce own oom handler to iterate only over its own threads In-Reply-To: <4FEC1C06.70802@jp.fujitsu.com> Message-ID: References: <4FE94968.6010500@jp.fujitsu.com> <4FEC1C06.70802@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Kamezawa Hiroyuki Cc: Andrew Morton , Michal Hocko , Johannes Weiner , KOSAKI Motohiro , Minchan Kim , Oleg Nesterov , linux-mm@kvack.org, cgroups@vger.kernel.org On Thu, 28 Jun 2012, Kamezawa Hiroyuki wrote: > > It turns out that task->children is not an rcu-protected list so this > > doesn't work. > > Can't we use sighand->lock to iterate children ? > I don't think so, this list is protected by tasklist_lock. Oleg? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org