Skip to content

powerpc/kprobes: preempt related changes and cleanups

Naveen N. Rao linux-arch linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5powerpc/kprobes: Remove preempt disable around call to get_kprobe() in arch_prepare_kprobe()arch/powerpc/kernel/kprobes.c+0 -22 replies
2/5powerpc/kprobes: Have optimized_callback() use preempt_enable()arch/powerpc/kernel/optprobes.c+1 -11 reply
3/5powerpc/kprobes: Use preempt_enable() rather than the no_resched variantarch/powerpc/kernel/kprobes.c+6 -61 reply
4/5powerpc/kprobes: Setup consistent pt_regs across kprobes, optprobes and KPROBES_ON_FTRACEarch/powerpc/kernel/optprobes_head.S arch/powerpc/kernel/trace/ftrace_mprofile.S+7 -42 replies
5/5powerpc/kprobes: Remove unnecessary headers from kprobesarch/powerpc/kernel/kprobes-ftrace.c arch/powerpc/kernel/kprobes.c+0 -62 replies

Reviews trailers per patch

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

PatchNicholas Piggin
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5

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

Read the v1 thread

Cover letter [PATCH 0/5] powerpc/kprobes: preempt related changes and cleanups

This series attempts to address some of the concerns raised in
https://github.com/linuxppc/issues/issues/440

The last two patches are minor cleanups in related kprobes code.

- Naveen

Naveen N. Rao (5):
powerpc/kprobes: Remove preempt disable around call to get_kprobe() in
arch_prepare_kprobe()
powerpc/kprobes: Have optimized_callback() use preempt_enable() powerpc/kprobes: Use preempt_enable() rather than the no_resched
variant
powerpc/kprobes: Setup consistent pt_regs across kprobes, optprobes
and KPROBES_ON_FTRACE
powerpc/kprobes: Remove unnecessary headers from kprobes

 arch/powerpc/kernel/kprobes-ftrace.c        |  4 ----
 arch/powerpc/kernel/kprobes.c               | 16 ++++++----------
 arch/powerpc/kernel/optprobes.c             |  2 +-
 arch/powerpc/kernel/optprobes_head.S        |  5 +----
 arch/powerpc/kernel/trace/ftrace_mprofile.S |  6 ++++++
 5 files changed, 14 insertions(+), 19 deletions(-)

base-commit: 7dc2a00fdd44a4d0c3bac9fd10558b3933586a0c

Signature · 1 line
2.38.0