Re: [PATCH v4 3.0-rc2-tip 4/22] 4: Uprobes: register/unregisterprobes.

From: Srikar Dronamraju
Date: Fri Jun 17 2011 - 05:39:50 EST

* Oleg Nesterov <oleg@xxxxxxxxxx> [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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at