diff options
author | Hou Tao <houtao1@huawei.com> | 2025-01-08 09:07:24 +0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-01-08 18:06:37 -0800 |
commit | 6a52b965ab6f56293dce316f382db3a9a66f0c9f (patch) | |
tree | f084cb19e91eeee9a8c892885a5d2daf6c0a8554 /tools/perf/scripts/python/stackcollapse.py | |
parent | 1d2dbe7120e89090ed4f6be03d6fbadfbfff59bf (diff) |
bpf: Remove migrate_{disable,enable} in bpf_cpumask_release()
When BPF program invokes bpf_cpumask_release(), the migration must have
been disabled. When bpf_cpumask_release_dtor() invokes
bpf_cpumask_release(), the caller bpf_obj_free_fields() also has
disabled migration, therefore, it is OK to remove the unnecessary
migrate_{disable|enable} pair in bpf_cpumask_release().
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20250108010728.207536-13-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions