From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail6.bemta7.messagelabs.com (mail6.bemta7.messagelabs.com [216.82.255.55]) by kanga.kvack.org (Postfix) with ESMTP id 360166B0012 for ; Fri, 17 Jun 2011 05:37:54 -0400 (EDT) Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by e2.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id p5H9HMlM003666 for ; Fri, 17 Jun 2011 05:17:22 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p5H9bpxL1413188 for ; Fri, 17 Jun 2011 05:37:51 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p5H9boPa018264 for ; Fri, 17 Jun 2011 05:37:51 -0400 Date: Fri, 17 Jun 2011 14:59:51 +0530 From: Srikar Dronamraju Subject: Re: [PATCH v4 3.0-rc2-tip 4/22] 4: Uprobes: register/unregister probes. Message-ID: <20110617092951.GA16985@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju 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> <20110616135114.GA22131@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20110616135114.GA22131@redhat.com> Sender: owner-linux-mm@kvack.org List-ID: To: Oleg Nesterov 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 * Oleg Nesterov [2011-06-16 15:51:14]: > 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. > oh right. > > 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. > Okay.. thats a nice idea. -- Thanks and Regards Srikar -- 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