commit | ddb06e08fa10ed5030285267a9b1e25d40c337c8 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Fri May 12 13:12:07 2017 -0400 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Fri May 12 13:12:07 2017 -0400 |
tree | 47f0300f4a73af6448c8fef613eae15dc088f5c6 | |
parent | db4d3deeb5ba034d681a63984abfe5545b0793d4 [diff] |
perf: Grab event_mutex before taking get_online_cpus() The event_mutex is a high level lock. It should never be taken under get_online_cpus() being held. Perf is the only user that does so. Move the taking of event_mutex outside of get_online_cpus() and this should solve the locking order. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>