Hello:
This patch was applied to bpf/bpf-next.git (master) by Martin KaFai Lau martin.lau@kernel.org:
On Mon, 28 Apr 2025 18:02:54 +0000 you wrote:
The closing parentheses around the read syscall is misplaced, causing single byte reads from the iterator instead of buf sized reads. While the end result is the same, many more read calls than necessary are performed.
$ tools/testing/selftests/bpf/vmtest.sh "./test_progs -t kmem_cache_iter" 145/1 kmem_cache_iter/check_task_struct:OK 145/2 kmem_cache_iter/check_slabinfo:OK 145/3 kmem_cache_iter/open_coded_iter:OK 145 kmem_cache_iter:OK Summary: 1/3 PASSED, 0 SKIPPED, 0 FAILED
[...]
Here is the summary with links: - selftests/bpf: Fix kmem_cache iterator draining https://git.kernel.org/bpf/bpf-next/c/38d976c32d85
You are awesome, thank you!