diff options
author | 2022-09-14 14:14:16 +0800 | |
---|---|---|
committer | 2022-09-26 13:01:18 -0400 | |
commit | 51714678eacc91fcfb8b235ced57ea70ade81cad (patch) | |
tree | a93505c996f7df02bc5cf06a097dfc4a4f62adba /rust/kernel | |
parent | tracing/filter: Call filter predicate functions directly via a switch statement (diff) | |
download | linux-dev-51714678eacc91fcfb8b235ced57ea70ade81cad.tar.xz linux-dev-51714678eacc91fcfb8b235ced57ea70ade81cad.zip |
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: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions