Re: [PATCH 1/2] perf callchain: Make callchain cursors TLS

From: Zachary Landau
Date: Fri Jun 01 2012 - 13:53:50 EST


On Thu, May 31, 2012 at 02:43:26PM +0900, Namhyung Kim wrote:
> perf top -G has a race on callchain cursor between main
> thread and display thread. Since the callchain cursors
> are used locally make them thread-local data would solve
> the problem.
>
> Reported-by: Sunjin Yang <fan4326@xxxxxxxxx>
> Suggested-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Namhyung Kim <namhyung.kim@xxxxxxx>

Acked-by: Zachary Landau <zacharyl@xxxxxx>

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