diff options
author | Ze Gao <[email protected]> | 2023-05-17 11:45:06 +0800 |
---|---|---|
committer | Masami Hiramatsu (Google) <[email protected]> | 2023-05-18 07:08:01 +0900 |
commit | be243bacfb25f5219f2396d787408e8cf1301dd1 (patch) | |
tree | adeceea8d080d6086af432f8ca5aa6b01d716e46 /lib/mpi/mpi-mod.c | |
parent | 6049674b5720edbbb13a7cb3e2f3d2affaa40c19 (diff) |
rethook: use preempt_{disable, enable}_notrace in rethook_trampoline_handler
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/[email protected]/
Fixes: 54ecbe6f1ed5 ("rethook: Add a generic return hook")
Signed-off-by: Ze Gao <[email protected]>
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Cc: <[email protected]>
Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions