Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selftests/bpf: Fix bpf_cookie and find_vma in nested VM #7146

Closed

Conversation

kernel-patches-daemon-bpf[bot]
Copy link

Pull request for series with
subject: selftests/bpf: Fix bpf_cookie and find_vma in nested VM
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=858546

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 49df001
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=858546
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 49df001
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=858546
version: 1

bpf_cookie and find_vma are flaky in nested VMs, which is used by some CI
systems. It turns out these failures are caused by unreliable perf event
in nested VM. Fix these by:

  1. Use PERF_COUNT_SW_CPU_CLOCK in find_vma;
  2. Increase sample_freq in bpf_cookie.

Signed-off-by: Song Liu <song@kernel.org>
@kernel-patches-daemon-bpf
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=858546 irrelevant now. Closing PR.

@kernel-patches-daemon-bpf kernel-patches-daemon-bpf bot deleted the series/858546=>bpf-next branch June 4, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant