From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail6.bemta8.messagelabs.com (mail6.bemta8.messagelabs.com [216.82.243.55]) by kanga.kvack.org (Postfix) with ESMTP id F080E6B0012 for ; Thu, 16 Jun 2011 09:53:30 -0400 (EDT) Date: Thu, 16 Jun 2011 15:51:14 +0200 From: Oleg Nesterov Subject: Re: [PATCH v4 3.0-rc2-tip 4/22] 4: Uprobes: register/unregister probes. Message-ID: <20110616135114.GA22131@redhat.com> References: <20110607125804.28590.92092.sendpatchset@localhost6.localdomain6> <20110607125900.28590.16071.sendpatchset@localhost6.localdomain6> <1308159719.2171.57.camel@laptop> <20110616041137.GG4952@linux.vnet.ibm.com> <1308217582.15315.94.camel@twins> <20110616095412.GK4952@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110616095412.GK4952@linux.vnet.ibm.com> Sender: owner-linux-mm@kvack.org List-ID: To: Srikar Dronamraju Cc: Peter Zijlstra , Ingo Molnar , Steven Rostedt , Linux-mm , Arnaldo Carvalho de Melo , Linus Torvalds , Ananth N Mavinakayanahalli , Hugh Dickins , Christoph Hellwig , Jonathan Corbet , Thomas Gleixner , Masami Hiramatsu , Andrew Morton , Jim Keniston , Roland McGrath , Andi Kleen , LKML On 06/16, Srikar Dronamraju wrote: > > In which case, shouldnt traversing all the tasks of all siblings of > parent of mm->owner should provide us all the the tasks that have linked > to mm. Right? I don't think so. Even if the initial mm->ovner never exits (iow, mm->owner is never changed), the "deep" CLONE_VM child can be reparented to init if its parent exits. > Agree that we can bother about this a little later. Agreed. Oh. We should move ->mm from task_struct to signal_struct, but we need to change the code like get_task_mm(). And then instead of mm->owner we can have mm->processes list. Perhaps. This can be used by zap_threads() too. 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org