Messages in this thread | | | Subject | Re: [PATCH bpf-next v2] bpftool: Check argc first before "file" in do_batch() | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 16 Nov 2022 05:40:15 +0000 |
| |
Hello:
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.org>:
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@loongson.cn> > > [...]
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
| |