Files
linux-stable-mirror/include/linux
Hou Tao b460bc8302 mm/percpu.c: introduce pcpu_alloc_size()
Introduce pcpu_alloc_size() to get the size of the dynamic per-cpu
area. It will be used by bpf memory allocator in the following patches.
BPF memory allocator maintains per-cpu area caches for multiple area
sizes and its free API only has the to-be-freed per-cpu pointer, so it
needs the size of dynamic per-cpu area to select the corresponding cache
when bpf program frees the dynamic per-cpu pointer.

Acked-by: Dennis Zhou <dennis@kernel.org>
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20231020133202.4043247-3-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-10-20 14:15:06 -07:00
..
2023-10-05 09:13:42 -07:00
2023-09-18 09:28:22 +01:00
2023-09-11 15:24:16 -07:00
2023-09-13 10:48:48 +02:00
2023-09-29 17:20:46 -07:00
2023-10-06 11:01:23 +02:00
2023-10-06 11:01:23 +02:00
2023-10-10 19:35:54 -07:00
2023-10-15 13:19:42 +01:00
2023-09-18 11:37:08 +01:00
2023-09-16 13:42:34 +01:00
2023-09-14 16:16:36 +02:00