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

From: Masami Hiramatsu (Google)
Date: Sun Dec 08 2024 - 21:41:10 EST


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@xxxxxxxxxx>