[PATCH v2 0/2] bpf, x86/unwind/orc: Support reliable unwinding through BPF stack frames
From: Josh Poimboeuf
Date: Wed Dec 03 2025 - 22:32:30 EST
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/cover.1764699074.git.jpoimboe@xxxxxxxxxx):
- 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(-)
--
2.51.1