Hello:
This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <[email protected]>:
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