Re: [PATCH v2 bpf-next] selftests/bpf: Retry stat generation in cgroup_iter_memcg
| Newsgroups | org.kernel.vger.bpf |
|---|---|
| Message-ID | <178698000441.1184401.15726013769999807610.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <[email protected]>: On Fri, 14 Aug 2026 16:20:17 -0700 you wrote: > Each cgroup_iter_memcg subtest touches 1024 pages and expects the matching > memcg counter to be non-zero. On a host with many CPUs it reads zero > instead: > > test_anon:FAIL:final anon mapped val: actual 0 <= expected 0 > > memcg stats are cached per-cpu and only become visible once the periodic > flusher runs (FLUSH_TIME, 2s), or once pending updates cross > MEMCG_CHARGE_BATCH * num_online_cpus(). That threshold is 512 pages at 8 > CPUs but 8192 at 128, so a single pass no longer reaches it and > bpf_mem_cgroup_flush_stats() returns without flushing anything. > > [...] Here is the summary with links: - [v2,bpf-next] selftests/bpf: Retry stat generation in cgroup_iter_memcg https://git.kernel.org/bpf/bpf-next/c/3d9393ff98ca You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html