summaryrefslogtreecommitdiff
path: root/kernel/trace/bpf_trace.c
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2023-09-13 16:59:43 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-09-15 20:22:24 +0300
commitdca7acd84e93f2881e3f63465bbb5d89a40b5d17 (patch)
tree8bf380533d252ace728ae6856e18c5a57b394d3b /kernel/trace/bpf_trace.c
parent837723b22a63cfbff584655b009b9d488d0e9087 (diff)
downloadlinux-dca7acd84e93f2881e3f63465bbb5d89a40b5d17.tar.xz
bpf: Skip unit_size checking for global per-cpu allocator
For global per-cpu allocator, the size of free object in free list doesn't match with unit_size and now there is no way to get the size of per-cpu pointer saved in free object, so just skip the checking. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Closes: https://lore.kernel.org/bpf/20230913133436.0eeec4cb@canb.auug.org.au/ Signed-off-by: Hou Tao <houtao1@huawei.com> Tested-by: Biju Das <biju.das.jz@bp.renesas.com> Link: https://lore.kernel.org/r/20230913135943.3137292-1-houtao@huaweicloud.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/trace/bpf_trace.c')
0 files changed, 0 insertions, 0 deletions