diff options
| author | Srikar Dronamraju <[email protected]> | 2010-06-30 14:15:48 +0530 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-08-04 12:41:23 -0300 |
| commit | 9da79ab83ee33ddc1fdd0858fd3d70925a1bde99 (patch) | |
| tree | 116f9d3c256a91ede964ebbfd3779949cc5953d4 /drivers/scsi/mpt2sas/mpi/mpi2_init.h | |
| parent | b83f920e179101a54721e5ab1d6c3edfb9d4bcbb (diff) | |
tracing/kprobes: unregister_trace_probe needs to be called under mutex
Comment in unregister_trace_probe() says probe_lock will be held when it
gets called. However there is a case where it might called without the
probe_lock being held. Also since we are traversing the probe_list and
deleting an element from the probe_list, probe_lock should be held.
This was first pointed in uprobes traceevent review by Frederic
Weisbecker here. (http://lkml.org/lkml/2010/5/12/106)
Cc: Ingo Molnar <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Srikar Dronamraju <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions