From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 11 Apr 2008 12:33:39 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [-mm] Add an owner to the mm_struct (v9) Message-Id: <20080411123339.89aea319.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20080410091602.4472.32172.sendpatchset@localhost.localdomain> References: <20080410091602.4472.32172.sendpatchset@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Balbir Singh Cc: Paul Menage , Pavel Emelianov , Hugh Dickins , Sudhir Kumar , YAMAMOTO Takashi , linux-kernel@vger.kernel.org, taka@valinux.co.jp, linux-mm@kvack.org, David Rientjes , Andrew Morton List-ID: maybe I don't undestand correctlly... On Thu, 10 Apr 2008 14:46:02 +0530 Balbir Singh wrote: > > +config MM_OWNER > + bool > + no default is ok here ? what value will this have if not selected ? I'm sorry if I misunderstand Kconfig. > + /* > + * Search through everything else. We should not get > + * here often > + */ > + do_each_thread(g, c) { > + if (c->mm == mm) > + goto assign_new_owner; > + } while_each_thread(g, c); > + Again, do_each_thread() is suitable here ? for_each_process() ? Thanks, -Kame -- 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