linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/3] kprobe: Optimize the performance of patching ss
@ 2022-09-13  3:34 Liao Chang
  2022-09-13  3:34 ` [PATCH V2 1/3] riscv/kprobe: Optimize the performance of patching single-step slot Liao Chang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Liao Chang @ 2022-09-13  3:34 UTC (permalink / raw)
  To: catalin.marinas, will, guoren, paul.walmsley, palmer, aou,
	rostedt, mhiramat, liaochang1, maz, alexandru.elisei
  Cc: linux-arm-kernel, linux-kernel, linux-csky, linux-riscv

Single-step slot would not be used until kprobe is enabled, that means
no race condition occurs on it under SMP, hence it is safe to pacth ss
slot without stopping machine.

v2:
Backport riscv patch to cksy and arm64.

Liao Chang (3):
  riscv/kprobe: Optimize the performance of patching single-step slot
  csky/kprobe: Optimize the performance of patching single-step slot
  arm64/kprobe: Optimize the performance of patching single-step slot

 arch/arm64/kernel/probes/kprobes.c | 5 ++---
 arch/csky/kernel/probes/kprobes.c  | 6 +++++-
 arch/riscv/kernel/probes/kprobes.c | 8 +++++---
 3 files changed, 12 insertions(+), 7 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-23  1:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-13  3:34 [PATCH V2 0/3] kprobe: Optimize the performance of patching ss Liao Chang
2022-09-13  3:34 ` [PATCH V2 1/3] riscv/kprobe: Optimize the performance of patching single-step slot Liao Chang
2022-09-13  3:34 ` [PATCH V2 2/3] csky/kprobe: " Liao Chang
2022-09-13  3:34 ` [PATCH V2 3/3] arm64/kprobe: " Liao Chang
2022-09-22 13:38   ` Will Deacon
2022-09-23  1:24     ` liaochang (A)
2022-09-13 11:19 ` [PATCH V2 0/3] kprobe: Optimize the performance of patching ss Masami Hiramatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).