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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to