Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758858Ab1FQJhz (ORCPT ); Fri, 17 Jun 2011 05:37:55 -0400 Received: from e6.ny.us.ibm.com ([32.97.182.146]:34767 "EHLO e6.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752425Ab1FQJhx (ORCPT ); Fri, 17 Jun 2011 05:37:53 -0400 Date: Fri, 17 Jun 2011 14:59:51 +0530 From: Srikar Dronamraju 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 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> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1068 Lines: 36 * 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/