diff options
| author | Peter Zijlstra <[email protected]> | 2015-11-30 11:56:15 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-12-04 09:08:03 +0000 |
| commit | 642c2d671ceff40e9453203ea0c66e991e11e249 (patch) | |
| tree | e02c733869c9c66e96f0a99d64bfde200a68ae7e /drivers/fpga/fpga-mgr.c | |
| parent | treewide: Remove old email address (diff) | |
| download | kernel-642c2d671ceff40e9453203ea0c66e991e11e249.tar.gz kernel-642c2d671ceff40e9453203ea0c66e991e11e249.zip | |
perf: Fix PERF_EVENT_IOC_PERIOD deadlock
Dmitry reported a fairly silly recursive lock deadlock for
PERF_EVENT_IOC_PERIOD, fix this by explicitly doing the inactive part of
__perf_event_period() instead of calling that function.
Reported-by: Dmitry Vyukov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kostya Serebryany <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sasha Levin <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Fixes: c7999c6f3fed ("perf: Fix PERF_EVENT_IOC_PERIOD migration race")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
