diff options
author | 2020-12-04 23:59:46 -0800 | |
---|---|---|
committer | 2020-12-07 11:53:40 -0800 | |
commit | e3366884b383073a7edc1bad9634412ae0a22d4e (patch) | |
tree | 6c93ef39131e0a70e15c335b14b5e1f46349b3f0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | lwt: Disable BH too in run_lwt_bpf() (diff) | |
download | linux-dev-e3366884b383073a7edc1bad9634412ae0a22d4e.tar.xz linux-dev-e3366884b383073a7edc1bad9634412ae0a22d4e.zip |
lwt_bpf: Replace preempt_disable() with migrate_disable()
migrate_disable() is just a wrapper for preempt_disable() in
non-RT kernel. It is safe to replace it, and RT kernel will
benefit.
Note that it is introduced since Feb 2020.
Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Signed-off-by: Cong Wang <cong.wang@bytedance.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20201205075946.497763-2-xiyou.wangcong@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions