Re: [RFC PATCH v3 4/6] uretprobes: return probe entry, prepareuretprobe

From: Anton Arapov
Date: Mon Mar 04 2013 - 05:49:37 EST


On Sun, Mar 03, 2013 at 05:40:29PM +0100, Oleg Nesterov wrote:
> On 02/28, Anton Arapov wrote:
> >
> > @@ -69,6 +69,10 @@ struct uprobe_task {
> > enum uprobe_task_state state;
> > struct arch_uprobe_task autask;
> >
> > + /*
> > + * list for tracking uprobes with return consumers
> > + */
> > + struct hlist_head return_uprobes;
>
> Forgot to mention, at least you should also change uprobe_free_utask()
> to cleanup this list, the task can exit from inside the ret-probe'd
> function(s).

Yes, right. Thanks for the other mails as well. I will fix it for the
next RFC v4.

Anton.

> Oleg.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/