mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-03 17:14:14 +08:00
8c4d16471e
These patch_text implementations are using stop_machine_cpuslocked
infrastructure with atomic cpu_count. The original idea: When the
master CPU patch_text, the others should wait for it. But current
implementation is using the first CPU as master, which couldn't
guarantee the remaining CPUs are waiting. This patch changes the
last CPU as the master to solve the potential risk.
Fixes:
|
||
---|---|---|
.. | ||
decode-insn.c | ||
decode-insn.h | ||
ftrace.c | ||
kprobes_trampoline.S | ||
kprobes.c | ||
Makefile | ||
simulate-insn.c | ||
simulate-insn.h | ||
uprobes.c |