[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174337683428.3617599.346257026297188434.git-patchwork-notify@kernel.org>
Date: Sun, 30 Mar 2025 23:20:34 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Song Liu <song@...nel.org>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org, ast@...nel.org,
daniel@...earbox.net, andrii@...nel.org, kernel-team@...a.com,
kuba@...nel.org
Subject: Re: [PATCH bpf-next] selftests/bpf: Fix tests after change in struct file
Hello:
This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@...nel.org>:
On Thu, 27 Mar 2025 11:55:28 -0700 you wrote:
> Change in struct file [1] moves f_ref to the 3rd cache line. This makes
> deferencing file pointer as a 8-byte variable invalid, because
> btf_struct_walk() will walk into f_lock, which is 4-byte long.
>
> Fix the selftests to deference the file pointer as a 4-byte variable.
>
> [1] commit e249056c91a2 ("fs: place f_ref to 3rd cache line in struct
> file to resolve false sharing")
> Reported-by: Jakub Kicinski <kuba@...nel.org>
> Signed-off-by: Song Liu <song@...nel.org>
>
> [...]
Here is the summary with links:
- [bpf-next] selftests/bpf: Fix tests after change in struct file
https://git.kernel.org/bpf/bpf/c/bd06a13f44e1
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