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

From: Oleg Nesterov
Date: Thu Jun 16 2011 - 09:53:59 EST

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.


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.


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