Skip to content
Commit 51714678 authored by Zhen Lei's avatar Zhen Lei Committed by Steven Rostedt (Google)
Browse files

tracepoint: Optimize the critical region of mutex_lock in tracepoint_module_coming()



The memory allocation of 'tp_mod' does not require mutex_lock()
protection, move it out.

Link: https://lkml.kernel.org/r/20220914061416.1630-1-thunder.leizhen@huawei.com

Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
parent fde59ab1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment