[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPhsuW6BqkOqEYUF_4tNPaCNRcsKsFpavPHEA0N25x-4p1mSOg@mail.gmail.com>
Date: Tue, 2 Dec 2025 10:53:13 -0800
From: Song Liu <song@...nel.org>
To: Josh Poimboeuf <jpoimboe@...nel.org>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org,
live-patching@...r.kernel.org, bpf@...r.kernel.org,
Andrey Grodzovsky <andrey.grodzovsky@...wdstrike.com>, Petr Mladek <pmladek@...e.com>,
Raja Khan <raja.khan@...wdstrike.com>, Miroslav Benes <mbenes@...e.cz>,
Alexei Starovoitov <ast@...nel.org>, Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>, Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH 1/2] bpf: Add bpf_has_frame_pointer()
On Tue, Dec 2, 2025 at 10:20 AM Josh Poimboeuf <jpoimboe@...nel.org> wrote:
>
> Introduce a bpf_has_frame_pointer() helper that uwninders can call to
> determine whether a given instruction pointer is within the valid frame
> pointer region of a BPF JIT program or trampoline (i.e., after the
> prologue, before the epilogue).
>
> This will enable livepatch (with the ORC unwinder) to reliably unwind
> through BPF JIT frames.
>
> Signed-off-by: Josh Poimboeuf <jpoimboe@...nel.org>
LGTM!
Acked-by: Song Liu <song@...nel.org>
Powered by blists - more mailing lists