Re: [PATCH v2] tracing/filters: add filter_mutex to protect filterpredicates

From: Ingo Molnar
Date: Fri Apr 17 2009 - 12:29:12 EST



* Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:

> Tom Zanussi wrote:
> > This patch adds a filter_mutex to prevent the filter predicates from
> > being accessed concurrently by various external functions.
> >
> > It's based on a previous patch by Li Zefan:
> > "[PATCH 7/7] tracing/filters: make filter preds RCU safe"
> >
> > v2 changes:
> >
> > - fixed wrong value returned in a add_subsystem_pred() failure case
> > noticed by Li Zefan.
> >
> > Signed-off-by: Tom Zanussi <tzanussi@xxxxxxxxx>
> >
>
> Reviewed-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
> Tested-by: Li Zefan <lizf@xxxxxxxxxxxxxx>

Applied, thanks guys!

Ingo
--
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/