aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2025-01-08 09:07:25 +0800
committerAlexei Starovoitov <ast@kernel.org>2025-01-08 18:06:37 -0800
commit2269b32ab00e1be663b838a1eed14408cb9ba677 (patch)
treeb54e180ecfd122710d02e566f5a82398b15fcc83 /scripts/generate_rust_analyzer.py
parentbpf: Remove migrate_{disable,enable} in bpf_cpumask_release() (diff)
downloadwireguard-linux-2269b32ab00e1be663b838a1eed14408cb9ba677.tar.xz
wireguard-linux-2269b32ab00e1be663b838a1eed14408cb9ba677.zip
bpf: Remove migrate_{disable|enable} from bpf_selem_alloc()
bpf_selem_alloc() has two callers: (1) bpf_sk_storage_clone_elem() bpf_sk_storage_clone() has already disabled migration before invoking bpf_sk_storage_clone_elem(). (2) bpf_local_storage_update() Its callers include: cgrp/task/inode/sock storage ->map_update_elem() callbacks and bpf_{cgrp|task|inode|sk}_storage_get() helpers. These running contexts have already disabled migration Therefore, there is no need to add extra migrate_{disable|enable} pair in bpf_selem_alloc(). Signed-off-by: Hou Tao <houtao1@huawei.com> Link: https://lore.kernel.org/r/20250108010728.207536-14-houtao@huaweicloud.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions