diff options
author | 2025-01-08 09:07:13 +0800 | |
---|---|---|
committer | 2025-01-08 18:06:35 -0800 | |
commit | 1b1a01db17af7a44cae8d8d7d7a18dbb056be40f (patch) | |
tree | c416453cc2b7860b5245bdd156628788a5906630 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/bpf: Add kprobe session recursion check test (diff) | |
download | linux-rng-1b1a01db17af7a44cae8d8d7d7a18dbb056be40f.tar.xz linux-rng-1b1a01db17af7a44cae8d8d7d7a18dbb056be40f.zip |
bpf: Remove migrate_{disable|enable} from LPM trie
Both bpf program and bpf syscall may invoke ->update or ->delete
operation for LPM trie. For bpf program, its running context has already
disabled migration explicitly through (migrate_disable()) or implicitly
through (preempt_disable() or disable irq). For bpf syscall, the
migration is disabled through the use of bpf_disable_instrumentation()
before invoking the corresponding map operation callback.
Therefore, it is safe to remove the migrate_{disable|enable){} pair from
LPM trie.
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20250108010728.207536-2-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions