diff options
author | 2023-09-08 21:39:21 +0800 | |
---|---|---|
committer | 2023-09-11 12:41:37 -0700 | |
commit | b1d53958b69312e43c118d4093d8f93d3f6f80af (patch) | |
tree | b8128293cd5b81af6bd4391dddbc90396024fc8e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: Adjust size_index according to the value of KMALLOC_MIN_SIZE (diff) | |
download | wireguard-linux-b1d53958b69312e43c118d4093d8f93d3f6f80af.tar.xz wireguard-linux-b1d53958b69312e43c118d4093d8f93d3f6f80af.zip |
bpf: Don't prefill for unused bpf_mem_cache
When the unit_size of a bpf_mem_cache is unmatched with the object_size
of the underlying slab cache, the bpf_mem_cache will not be used, and
the allocation will be redirected to a bpf_mem_cache with a bigger
unit_size instead, so there is no need to prefill for these
unused bpf_mem_caches.
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20230908133923.2675053-3-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions