diff options
author | Hou Tao <houtao1@huawei.com> | 2023-10-20 21:31:58 +0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-10-20 14:15:13 -0700 |
commit | baa8fdecd87bb8751237b45e3bcb5a179e5a12ca (patch) | |
tree | 14af489ff503a3e305ad87c77fbb35a434c24e4a /include/linux/bpf_mem_alloc.h | |
parent | b460bc8302f222d346f0c15bba980eb8c36d6278 (diff) | |
download | linux-baa8fdecd87bb8751237b45e3bcb5a179e5a12ca.tar.gz linux-baa8fdecd87bb8751237b45e3bcb5a179e5a12ca.tar.bz2 linux-baa8fdecd87bb8751237b45e3bcb5a179e5a12ca.zip |
bpf: Re-enable unit_size checking for global per-cpu allocator
With pcpu_alloc_size() in place, check whether or not the size of
the dynamic per-cpu area is matched with unit_size.
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20231020133202.4043247-4-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/bpf_mem_alloc.h')
0 files changed, 0 insertions, 0 deletions