[PATCH 0/5] kprobes: jump label: Cleanup with guard and __free

Masami Hiramatsu (Google)
2024-12-09T02:41:05Z

Hi,

Here is another series of patches to cleanup kprobes and probe events in
ftrace to use guard() and __free(). This defines new guard and __free for
jump_label. I removed all gotos in kprobes with this series.

Thanks,

---

Masami Hiramatsu (Google) (5):
jump_label: Define guard() for jump_label_lock
kprobes: Use guard() for external locks
kprobes: Use guard for rcu_read_lock
kprobes: Remove unneeded goto
kprobes: Remove remaining gotos

include/linux/jump_label.h | 3
kernel/kprobes.c | 383 ++++++++++++++++++++------------------------
2 files changed, 181 insertions(+), 205 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@kernel.org>