Re: [PATCH] selftests/bpf: Fix kmem_cache iterator draining

2025-04-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (master) by Martin KaFai Lau : On Mon, 28 Apr 2025 18:02:54 + 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 sa

Re: [PATCH] selftests/bpf: Fix kmem_cache iterator draining

2025-04-28 Thread T.J. Mercier
On Mon, Apr 28, 2025 at 1:06 PM Namhyung Kim wrote: > > Hello, > > On Mon, Apr 28, 2025 at 06:02:54PM +, T.J. Mercier 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

Re: [PATCH] selftests/bpf: Fix kmem_cache iterator draining

2025-04-28 Thread Namhyung Kim
Hello, On Mon, Apr 28, 2025 at 06:02:54PM +, T.J. Mercier 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. >

Re: [PATCH] selftests/bpf: Fix kmem_cache iterator draining

2025-04-28 Thread Song Liu
On Mon, Apr 28, 2025 at 11:03 AM T.J. Mercier 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/test

[PATCH] selftests/bpf: Fix kmem_cache iterator draining

2025-04-28 Thread T.J. Mercier
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/