Repository navigation
Commit deb0c3c
perf/core: Fix unlock balance in perf_init_event()
Commit:
66d258c ("perf/core: Optimize perf_init_event()")
introduced an unlock imbalance in perf_init_event() where it calls
"goto again" and then only repeat rcu_read_unlock().
Signed-off-by: Qian Cai <cai@lca.pw>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Fixes: 66d258c ("perf/core: Optimize perf_init_event()")
Link: https://lkml.kernel.org/r/20191106052935.8352-1-cai@lca.pw
Signed-off-by: Ingo Molnar <mingo@kernel.org>1 parent fed4c9c commit deb0c3c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10307 | 10307 | | |
10308 | 10308 | | |
10309 | 10309 | | |
10310 | | - | |
10311 | 10310 | | |
10312 | 10311 | | |
10313 | 10312 | | |
| |||
10317 | 10316 | | |
10318 | 10317 | | |
10319 | 10318 | | |
| 10319 | + | |
10320 | 10320 | | |
10321 | 10321 | | |
10322 | 10322 | | |
| |||
0 commit comments