diff options
| author | Fushuai Wang <wangfushuai@baidu.com> | 2025-10-07 15:40:11 +0800 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-10-07 11:53:29 -0700 |
| commit | 0db4941d9dae159d887e7e2eac7e54e60c3aac87 (patch) | |
| tree | 7e683c8a7167907c194a2beac241792776662c70 /tools/testing/selftests/bpf/prog_tests/string_kfuncs.c | |
| parent | de7342228b7343774d6a9981c2ddbfb5e201044b (diff) | |
bpf: Use rcu_read_lock_dont_migrate in bpf_sk_storage.c
Use rcu_read_lock_dont_migrate() and rcu_read_unlock_migrate() in
bpf_sk_storage.c to obtain better performance when PREEMPT_RCU is
not enabled.
Signed-off-by: Fushuai Wang <wangfushuai@baidu.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20251007074011.12916-1-wangfushuai@baidu.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/string_kfuncs.c')
0 files changed, 0 insertions, 0 deletions