Re: [PATCH v2] bpf: Fix bpf_get_smp_processor_id() on !CONFIG_SMP

From: patchwork-bot+netdevbpf
Date: Tue Dec 17 2024 - 19:20:23 EST


Hello:

This patch was applied to bpf/bpf.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Tue, 17 Dec 2024 20:58:13 +0100 you wrote:
> On x86-64 calling bpf_get_smp_processor_id() in a kernel with CONFIG_SMP
> disabled can trigger the following bug, as pcpu_hot is unavailable:
>
> [ 8.471774] BUG: unable to handle page fault for address: 00000000936a290c
> [ 8.471849] #PF: supervisor read access in kernel mode
> [ 8.471881] #PF: error_code(0x0000) - not-present page
>
> [...]

Here is the summary with links:
- [v2] bpf: Fix bpf_get_smp_processor_id() on !CONFIG_SMP
https://git.kernel.org/bpf/bpf/c/23579010cf0a

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