Skip to content

bpf, x86/unwind/orc: Support reliable unwinding through BPF stack frames

Josh Poimboeuf bpf live-patching lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review 1 of 2 applied
  2. v12 patches 5 repliesSuperseded

Patches in v2 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2bpf: Add bpf_has_frame_pointer()arch/x86/net/bpf_jit_comp.c include/linux/bpf.h kernel/bpf/core.c+31 -02 repliesApplied
2/2x86/unwind/orc: Support reliable unwinding through BPF stack framesarch/x86/kernel/unwind_orc.c+27 -120 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSong LiuAndrey GrodzovskyJiri Olsa
SeriesR-b
1/2A-b Acked-and-tested-by
2/2A-b Acked-and-tested-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] bpf, x86/unwind/orc: Support reliable unwinding through BPF stack frames

Fix livepatch stalls which may be seen when a task is blocked with BPF JIT on its kernel stack.

Changes since v1 (https://lore.kernel.org/[email protected]):
- fix NULL ptr deref in __arch_prepare_bpf_trampoline()

Josh Poimboeuf (2):
bpf: Add bpf_has_frame_pointer()
x86/unwind/orc: Support reliable unwinding through BPF stack frames

 arch/x86/kernel/unwind_orc.c | 39 +++++++++++++++++++++++++-----------
 arch/x86/net/bpf_jit_comp.c  | 12 +++++++++++
 include/linux/bpf.h          |  3 +++
 kernel/bpf/core.c            | 16 +++++++++++++++
 4 files changed, 58 insertions(+), 12 deletions(-)
Signature · 1 line
2.51.1