[Linux-stm32] [PATCH bpf-next v12 0/2] selftests/bpf: Optimize kallsyms cache
Rong Tao
rtoax at foxmail.com
Mon Sep 11 00:53:54 UTC 2023
On 9/9/23 7:40 AM, patchwork-bot+netdevbpf at kernel.org wrote:
> Hello:
>
> This series was applied to bpf/bpf-next.git (master)
> by Andrii Nakryiko<andrii at kernel.org>:
>
> On Thu, 7 Sep 2023 09:59:12 +0800 you wrote:
>> From: Rong Tao<rongtao at cestc.cn>
>>
>> We need to optimize the kallsyms cache, including optimizations for the
>> number of symbols limit, and, some test cases add new kernel symbols
>> (such as testmods) and we need to refresh kallsyms (reload or refresh).
>>
>> Rong Tao (2):
>> selftests/bpf: trace_helpers.c: optimize kallsyms cache
>> selftests/bpf: trace_helpers.c: Add a global ksyms initialization
>> mutex
>>
>> [...]
> Here is the summary with links:
> - [bpf-next,v12,1/2] selftests/bpf: trace_helpers.c: optimize kallsyms cache
> https://git.kernel.org/bpf/bpf-next/c/c698eaebdf47
> - [bpf-next,v12,2/2] selftests/bpf: trace_helpers.c: Add a global ksyms initialization mutex
> https://git.kernel.org/bpf/bpf-next/c/a28b1ba25934
>
> You are awesome, thank you!
Thanks, I just found that libbpf_ensure_mem() could optimize too,
cap_cnt start from a big
number. I'll try it some day.
Rong Tao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://st-md-mailman.stormreply.com/pipermail/linux-stm32/attachments/20230911/d6d399ec/attachment.html>
More information about the Linux-stm32
mailing list