[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <167648221676.27629.12132836025087563682.git-patchwork-notify@kernel.org>
Date: Wed, 15 Feb 2023 17:30:16 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc: davem@...emloft.net, daniel@...earbox.net, andrii@...nel.org,
martin.lau@...nel.org, memxor@...il.com, netdev@...r.kernel.org,
bpf@...r.kernel.org, kernel-team@...com
Subject: Re: [PATCH bpf-next] selftests/bpf: Fix map_kptr test.
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Martin KaFai Lau <martin.lau@...nel.org>:
On Tue, 14 Feb 2023 15:50:51 -0800 you wrote:
> From: Alexei Starovoitov <ast@...nel.org>
>
> The compiler is optimizing out majority of unref_ptr read/writes, so the test
> wasn't testing much. For example, one could delete '__kptr' tag from
> 'struct prog_test_ref_kfunc __kptr *unref_ptr;' and the test would still "pass".
>
> Convert it to volatile stores. Confirmed by comparing bpf asm before/after.
>
> [...]
Here is the summary with links:
- [bpf-next] selftests/bpf: Fix map_kptr test.
https://git.kernel.org/bpf/bpf-next/c/62d101d5f422
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists