diff options
| author | Jiri Kosina <[email protected]> | 2019-06-29 21:22:33 +0000 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2019-07-02 19:41:35 +0000 |
| commit | 074376ac0e1d1fcd4fafebca86ee6158e7c20680 (patch) | |
| tree | a355f2efe4193e1afe470018af776773ae579b6c /lib/mpi/mpi-pow.c | |
| parent | tracing/snapshot: Resize spare buffer if size changed (diff) | |
| download | kernel-074376ac0e1d1fcd4fafebca86ee6158e7c20680.tar.gz kernel-074376ac0e1d1fcd4fafebca86ee6158e7c20680.zip | |
ftrace/x86: Anotate text_mutex split between ftrace_arch_code_modify_post_process() and ftrace_arch_code_modify_prepare()
ftrace_arch_code_modify_prepare() is acquiring text_mutex, while the
corresponding release is happening in ftrace_arch_code_modify_post_process().
This has already been documented in the code, but let's also make the fact
that this is intentional clear to the semantic analysis tools such as sparse.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 39611265edc1a ("ftrace/x86: Add a comment to why we take text_mutex in ftrace_arch_code_modify_prepare()")
Fixes: d5b844a2cf507 ("ftrace/x86: Remove possible deadlock between register_kprobe() and ftrace_run_update_code()")
Signed-off-by: Jiri Kosina <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions
