diff options
author | Ariel Yin <ayin@google.com> | 2016-10-12 17:48:19 -0700 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2017-05-17 19:25:39 +0200 |
commit | dc955844d17c2bebe7c0cb2253da242aceaafa2f (patch) | |
tree | 248229c71d65b3064637159b2253873a61f70778 /net/ceph | |
parent | 23c5ab0316cc88659bbd45c4dcbef826a5416040 (diff) | |
download | kernel_samsung_tuna-dc955844d17c2bebe7c0cb2253da242aceaafa2f.tar.gz kernel_samsung_tuna-dc955844d17c2bebe7c0cb2253da242aceaafa2f.tar.bz2 kernel_samsung_tuna-dc955844d17c2bebe7c0cb2253da242aceaafa2f.zip |
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 'net/ceph')
0 files changed, 0 insertions, 0 deletions