Re: [RFC PATCH v3 4/6] uretprobes: return probe entry, prepareuretprobe
From: Oleg Nesterov
Date: Sun Mar 03 2013 - 11:44:15 EST
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).
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/