aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAriel Yin <ayin@google.com>2016-10-12 17:48:19 -0700
committerSimon Shields <keepcalm444@gmail.com>2016-12-13 00:14:53 +1100
commit89634e6f964064a223fb81ddbce9a053a4f16686 (patch)
tree53f3897ceb95ad638fe7376d47715e3ff58cacec /tools
parent699bf014212c71ebdb99850682947e8ad19a7499 (diff)
downloadkernel_samsung_smdk4412-89634e6f964064a223fb81ddbce9a053a4f16686.zip
kernel_samsung_smdk4412-89634e6f964064a223fb81ddbce9a053a4f16686.tar.gz
kernel_samsung_smdk4412-89634e6f964064a223fb81ddbce9a053a4f16686.tar.bz2
BACKPORT: perf: Fix event->ctx locking
There have been a few reported issues wrt. the lack of locking around changing event->ctx. This patch tries to address those. It avoids the whole rwsem thing; and while it appears to work, please give it some thought in review. What I did fail at is sensible runtime checks on the use of event->ctx, the RCU use makes it very hard. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/20150123125834.209535886@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org> (cherry picked from commit f63a8daa5812afef4f06c962351687e1ff9ccb2b) Bug: 30955111 Bug: 31095224 Change-Id: I5bab713034e960fad467637e98e914440de5666d
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions