Re: [PATCH bpf-next] selftests/bpf: Fix the snprintf test
Date: Fri Apr 30 2021 - 13:50:12 EST
This patch was applied to bpf/bpf.git (refs/heads/master):
On Wed, 28 Apr 2021 17:25:01 +0200 you wrote:
> The BPF program for the snprintf selftest runs on all syscall entries.
> On busy multicore systems this can cause concurrency issues.
> For example it was observed that sometimes the userspace part of the
> test reads " 4 0000" instead of " 4 000" (extra '0' at the end)
> which seems to happen just before snprintf on another core sets
> end[-1] = '\0'.
Here is the summary with links:
- [bpf-next] selftests/bpf: Fix the snprintf test
You are awesome, thank you!
Deet-doot-dot, I am a bot.