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
This commit is contained in:
Fushuai Wang 2025-10-07 15:40:11 +08:00 • committed by Martin KaFai Lau
commit 0db4941d9d