diff options
author | David Miller <davem@davemloft.net> | 2020-02-24 15:01:46 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-02-25 01:20:09 +0100 |
commit | 2a916f2f546ca1c1e3323e2a4269307f6d9890eb (patch) | |
tree | 55001914de022407ab96c717dc6ba7aa90e124f1 /kernel/bpf/syscall.c | |
parent | bpf: Use migrate_disable/enabe() in trampoline code. (diff) | |
download | linux-2a916f2f546ca1c1e3323e2a4269307f6d9890eb.tar.xz linux-2a916f2f546ca1c1e3323e2a4269307f6d9890eb.zip |
bpf: Use migrate_disable/enable in array macros and cgroup/lirc code.
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.
Including the code paths that go via __bpf_prog_run_save_cb().
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.998293311@linutronix.de
Diffstat (limited to 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions