diff options
author | David Miller <davem@davemloft.net> | 2020-02-24 15:01:44 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-02-25 01:20:09 +0100 |
commit | 6eac7795e8ef75de062c8f5bdb9520c9f0f065fa (patch) | |
tree | 9ee0bb821124197be995ccbf76cead42a92c0581 /kernel/bpf/trampoline.c | |
parent | bpf: Use bpf_prog_run_pin_on_cpu() at simple call sites. (diff) | |
download | linux-6eac7795e8ef75de062c8f5bdb9520c9f0f065fa.tar.xz linux-6eac7795e8ef75de062c8f5bdb9520c9f0f065fa.zip |
bpf/tests: Use migrate disable instead of preempt disable
Replace the preemption disable/enable with migrate_disable/enable() to
reflect the actual requirement and to allow PREEMPT_RT to substitute it
with an actual migration disable mechanism which does not disable
preemption.
[ tglx: Switched it over to migrate disable ]
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200224145643.785306549@linutronix.de
Diffstat (limited to 'kernel/bpf/trampoline.c')
0 files changed, 0 insertions, 0 deletions