diff options
| author | Jianhui Zhou <[email protected]> | 2024-08-07 15:44:48 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:26:04 -0700 |
| commit | 47baed6a132f611228113851a70c73f6e6478d87 (patch) | |
| tree | 78d337857aabf9ad9ad8ec995742338b306fd193 /tools/perf/scripts/python | |
| parent | 43c9074e6f093d304d55c43638732c402be75e2b (diff) | |
percpu: remove pcpu_alloc_size()
pcpu_alloc_size() was added in 7ac5c53e0073 "mm/percpu.c: introduce
pcpu_alloc_size()", which is used to get the allocated memory size in bpf.
However, pcpu_alloc_size() is no longer used in "bpf: Use c->unit_size to
select target cache during free" because its actuall allocated memory size
may change at runtime due to its slab merging mechanism. Therefore,
pcpu_alloc_size() can be removed.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jianhui Zhou <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Dennis Zhou <[email protected]>
Cc: JonasZhou <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions