From: Namhyung Kim Date: Mon, 18 May 2015 00:30:42 +0000 (+0900) Subject: perf tools: Protect dso cache fd with a mutex X-Git-Tag: omap-for-v4.3/legacy-v2-signed~210^2~43^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33bdedcea2d77231fe46b1204cf6fc3a7d7c96c9;p=pandora-kernel.git perf tools: Protect dso cache fd with a mutex When dso cache is accessed in multi-thread environment, it's possible to close other dso->data.fd during operation due to open file limit. Protect the file descriptors using a separate mutex. Signed-off-by: Namhyung Kim Cc: Adrian Hunter Cc: Andi Kleen Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1431909055-21442-28-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed