Skip to content

kprobes: jump label: Cleanup with guard and __free

Masami Hiramatsu (Google) linux-trace-kernel lkml 1 version In review

Get series with b4
b4 am 173371205755.480397.7893311565254712194.stgit@devnote2

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5jump_label: Define guard() for jump_label_lockinclude/linux/jump_label.h+3 -00 replies
2/5kprobes: Use guard() for external lockskernel/kprobes.c+90 -1196 replies
3/5kprobes: Use guard for rcu_read_lockkernel/kprobes.c+36 -300 replies
4/5kprobes: Remove unneeded gotokernel/kprobes.c+21 -240 replies
5/5kprobes: Remove remaining gotoskernel/kprobes.c+31 -320 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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) <[email protected]>