Re: [PATCH bpf-next v2] bpftool: Check argc first before "file" in do_batch()
From: patchwork-bot+netdevbpf
Date: Wed Nov 16 2022 - 00:41:07 EST
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:
On Tue, 15 Nov 2022 21:00:07 +0800 you wrote:
> If the parameters for batch are more than 2, check argc first can
> return immediately, no need to use is_prefix() to check "file" with
> a little overhead and then check argc, it is better to check "file"
> only when the parameters for batch are 2.
>
> Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>
>
> [...]
Here is the summary with links:
- [bpf-next,v2] bpftool: Check argc first before "file" in do_batch()
https://git.kernel.org/bpf/bpf-next/c/df9c41e9db2d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html