Skip to content

kprobes: Fixes mutex, rcu-list warnings and cleanups

Masami Hiramatsu lkml 5 versions – In review

Get series with b4
b4 am 158927054236.27680.18209720730136003586.stgit@devnote2

Versions newest first · linked by author and title

  1. v6 Latest6 patches 5 repliesIn review
  2. v54 patches 1 replySuperseded
  3. v44 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v32 patches1 replySuperseded
v22 patches11 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6kprobes: Suppress the suspicious RCU warning on kprobeskernel/kprobes.c+2 -10 replies
2/6kprobes: Use non RCU traversal APIs on kprobe_tables if possiblekernel/kprobes.c+20 -90 replies
3/6kprobes: Fix to protect kick_kprobe_optimizer() by kprobe_mutexkernel/kprobes.c+2 -10 replies
4/6kprobes: Remove redundant arch_disarm_kprobe() callkernel/kprobes.c+0 -20 replies
5/6kretprobe: Prevent triggering kretprobe from within kprobe_flush_taskarch/x86/kernel/kprobes/core.c include/linux/kprobes.h kernel/kprobes.c+31 -130 replies
6/6kprobes: Replace zero-length array with flexible-arrayinclude/linux/kprobes.h+1 -10 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchJoel Fernandes (Google)Masami Hiramatsu
1/6R-b
2/6R-b
3/6
4/6
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH -tip V6 0/6] kprobes: Fixes mutex, rcu-list warnings and cleanups

Hi Ingo,

Here is the 6th version of the series for kprobes. The previous version is here.

https://lore.kernel.org/lkml/158583483116.26060.10517933482238348979.stgit@devnote2/

In this version, I picked 2 patches[1][2] which has been reviewed on LKML but not merged to tip tree yet.

[1] https://lore.kernel.org/lkml/[email protected]/
[2] https://lore.kernel.org/lkml/20200507185733.GA14931@embeddedor/

You can also pull this series from kprobes/core branch from

https://git.kernel.org/pub/scm/linux/kernel/git/mhiramat/linux.git/

Thank you,

---

Gustavo A. R. Silva (1):
kprobes: Replace zero-length array with flexible-array

Jiri Olsa (1):
kretprobe: Prevent triggering kretprobe from within kprobe_flush_task

Masami Hiramatsu (4):
kprobes: Suppress the suspicious RCU warning on kprobes
kprobes: Use non RCU traversal APIs on kprobe_tables if possible
kprobes: Fix to protect kick_kprobe_optimizer() by kprobe_mutex
kprobes: Remove redundant arch_disarm_kprobe() call

 arch/x86/kernel/kprobes/core.c |   16 ++--------
 include/linux/kprobes.h        |    6 +++-
 kernel/kprobes.c               |   61 +++++++++++++++++++++++++++++++---------
 3 files changed, 56 insertions(+), 27 deletions(-)

--
Masami Hiramatsu (Linaro) <[email protected]>