Hi, Here is the 7th version of fprobe bugfix series. The previous version is here.
https://lore.kernel.org/all/177615807787.1165997.921227352050738693.st...@mhiramat.tok.corp.google.com/ In this version, I added yet another bugfixes (again) for make unregister_fprobe() more robust for memory pressure [2/6]. And remove uneeded RCU sync [3/6]. And split checking whether ftrace_ops is registered from the number of registered fprobes, because ftrace_ops can be unregistered in module unloading[6/6]. Thank you! Masami Hiramatsu (Google) (6): tracing/fprobe: Reject registration of a registered fprobe before init tracing/fprobe: Unregister fprobe even if memory allocation fails tracing/fprobe: Remove fprobe from hash in failure path tracing/fprobe: Avoid kcalloc() in rcu_read_lock section tracing/fprobe: Check the same type fprobe on table as the unregistered one tracing/fprobe: Fix to unregister ftrace_ops if it is empty on module unloading kernel/trace/fprobe.c | 480 +++++++++++++++++++++++++++++++++---------------- 1 file changed, 323 insertions(+), 157 deletions(-) base-commit: 4346be6577aaa04586167402ae87bbdbe32484a4 -- Masami Hiramatsu (Google) <[email protected]>
