Re: [PATCH] bpf: Use refcount_t instead of atomic_t for mmap_count
From: patchwork-bot+netdevbpf
Date: Mon Dec 30 2024 - 23:20:17 EST
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:
On Mon, 30 Dec 2024 15:16:55 +0800 you wrote:
> Use an API that resembles more the actual use of mmap_count.
>
> Found by cocci:
> kernel/bpf/arena.c:245:6-25: WARNING: atomic_dec_and_test variation before object free at line 249.
>
> Fixes: b90d77e5fd78 ("bpf: Fix remap of arena.")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202412292037.LXlYSHKl-lkp@xxxxxxxxx/
> Signed-off-by: Pei Xiao <xiaopei01@xxxxxxxxxx>
>
> [...]
Here is the summary with links:
- bpf: Use refcount_t instead of atomic_t for mmap_count
https://git.kernel.org/bpf/bpf-next/c/dfa94ce54f41
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html