[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176935920760.3538157.15856817944846369498.git-patchwork-notify@kernel.org>
Date: Sun, 25 Jan 2026 16:40:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Changwoo Min <changwoo@...lia.com>
Cc: ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
martin.lau@...ux.dev, eddyz87@...il.com, song@...nel.org,
yonghong.song@...ux.dev, john.fastabend@...il.com, kpsingh@...nel.org,
sdf@...ichev.me, haoluo@...gle.com, jolsa@...nel.org, shuah@...nel.org,
kernel-dev@...lia.com, bpf@...r.kernel.org, sched-ext@...ts.linux.dev,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: Re: [PATCH bpf-next v3 0/2] selftests/bpf: Introduce execution
context
detection helpers
Hello:
This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@...nel.org>:
On Sun, 25 Jan 2026 20:54:11 +0900 you wrote:
> This series introduces four new BPF-native inline helpers -- bpf_in_nmi(),
> bpf_in_hardirq(), bpf_in_serving_softirq(), and bpf_in_task() -- to allow
> BPF programs to query the current execution context.
>
> Following the feedback on v1, these are implemented in bpf_experimental.h
> as inline helpers wrapping get_preempt_count(). This approach allows the
> logic to be JIT-inlined for better performance compared to a kfunc call,
> while providing the granular context detection (e.g., hardirq vs. softirq)
> required by subsystems like sched_ext.
>
> [...]
Here is the summary with links:
- [bpf-next,v3,1/2] selftests/bpf: Introduce execution context detection helpers
https://git.kernel.org/bpf/bpf-next/c/c31df36bd26a
- [bpf-next,v3,2/2] selftests/bpf: Add tests for execution context helpers
https://git.kernel.org/bpf/bpf-next/c/221b5e76c1c6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists