Centos-kernel-stream-9/include
Artem Savkov 4ab5be6999 mm/percpu.c: introduce pcpu_alloc_size()
JIRA: https://issues.redhat.com/browse/RHEL-23643

commit b460bc8302f222d346f0c15bba980eb8c36d6278
Author: Hou Tao <houtao1@huawei.com>
Date:   Fri Oct 20 21:31:57 2023 +0800

    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>

Signed-off-by: Artem Savkov <asavkov@redhat.com>
2024-03-27 10:27:55 +01:00
..
acpi cpu-hotplug: Provide prototypes for arch CPU registration 2024-03-20 09:43:30 -04:00
asm-generic sections: move and rename core_kernel_data() to is_kernel_core_data() 2024-03-20 09:43:21 -04:00
clocksource
crypto cyrpto/b128ops: Remove struct u128 2024-03-20 09:43:09 -04:00
drm
dt-bindings
keys
kunit
kvm
linux mm/percpu.c: introduce pcpu_alloc_size() 2024-03-27 10:27:55 +01:00
math-emu
media
memory
misc
net Merge: arch/x86: backport 2024-03-26 11:25:15 -04:00
pcmcia
ras
rdma
rv
scsi
soc
sound
target
trace Merge: arch/x86: backport 2024-03-26 11:25:15 -04:00
uapi bpf: Add ability to pin bpf timer to calling CPU 2024-03-27 10:27:52 +01:00
ufs
vdso
video
xen xen: simplify evtchn_do_upcall() call maze 2024-03-20 09:43:24 -04:00