Re: [PATCH bpf-next] bpf: Check rcu_read_lock_trace_held() in bpf_map_lookup_percpu_elem()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Mon, 26 May 2025 14:25:34 +0800 you wrote:
> From: Hou Tao <houtao1@xxxxxxxxxx>
> 
> bpf_map_lookup_percpu_elem() helper is also available for sleepable bpf
> program. When BPF JIT is disabled or under 32-bit host,
> bpf_map_lookup_percpu_elem() will not be inlined. Using it in a
> sleepable bpf program will trigger the warning in
> bpf_map_lookup_percpu_elem(), because the bpf program only holds
> rcu_read_lock_trace lock. Therefore, add the missed check.
> 
> [...]

Here is the summary with links:
  - [bpf-next] bpf: Check rcu_read_lock_trace_held() in bpf_map_lookup_percpu_elem()
    https://git.kernel.org/bpf/bpf-next/c/d4965578267e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux