aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexandre Ghiti <[email protected]>2025-07-11 07:38:38 +0000
committerPalmer Dabbelt <[email protected]>2025-07-16 15:21:47 +0000
commite3f16d63d54e6fcf2b18812f2dd0a8d2782b5f3a (patch)
tree122aaa9a4de87e200373e7cb227cbbbf0c4a5805 /tools/perf/scripts/python
parentACPI: RISC-V: Remove unnecessary CPPC debug message (diff)
downloadkernel-e3f16d63d54e6fcf2b18812f2dd0a8d2782b5f3a.tar.gz
kernel-e3f16d63d54e6fcf2b18812f2dd0a8d2782b5f3a.zip
riscv: ftrace: Properly acquire text_mutex to fix a race condition
As reported by lockdep, some patching was done without acquiring text_mutex, so there could be a race when mapping the page to patch since we use the same fixmap entry. Reported-by: Han Gao <[email protected]> Reported-by: Vivian Wang <[email protected]> Reported-by: Yao Zi <[email protected]> Closes: https://lore.kernel.org/linux-riscv/[email protected]/ Tested-by: Yao Zi <[email protected]> Tested-by: Han Gao <[email protected]> Reviewed-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions