aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/kernel
diff options
context:
space:
mode:
authorZe Gao2023-05-17 11:45:06 +0800
committerGreg Kroah-Hartman2023-05-24 17:32:52 +0100
commitc46d3efb4d23dbcc325fcb37714bb3127368b2c6 (patch)
treec2b74fc262b3f42ff7914a286fdf686307809369 /arch/riscv/kernel
parent4e38a02b220743444b7dfd77821aeec23b98f841 (diff)
rethook: use preempt_{disable, enable}_notrace in rethook_trampoline_handler
commit be243bacfb25f5219f2396d787408e8cf1301dd1 upstream. This patch replaces preempt_{disable, enable} with its corresponding notrace version in rethook_trampoline_handler so no worries about stack recursion or overflow introduced by preempt_count_{add, sub} under fprobe + rethook context. Link: https://lore.kernel.org/all/20230517034510.15639-2-zegao@tencent.com/ Fixes: 54ecbe6f1ed5 ("rethook: Add a generic return hook") Signed-off-by: Ze Gao <zegao@tencent.com> Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Cc: <stable@vger.kernel.org> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/riscv/kernel')
0 files changed, 0 insertions, 0 deletions