mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
bpf: Remove preempt_disable in bpf_try_get_buffers
[ Upstream commit4223bf833c] Now BPF program will run with migration disabled, so it is safe to access this_cpu_inc_return(bpf_bprintf_nest_level). Fixes:d9c9e4db18("bpf: Factorize bpf_trace_printk and bpf_seq_printf") Signed-off-by: Tao Chen <chen.dylane@linux.dev> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20250819125638.2544715-1-chen.dylane@linux.dev Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
e8c693a806
commit
5d9bc98187
1 changed files with 0 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue