diff options
author | Alexei Starovoitov <[email protected]> | 2021-02-09 19:36:27 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-02-11 16:18:55 +0100 |
commit | 031d6e02ddbb8dea747c1abb697d556901f07dd4 (patch) | |
tree | 2a4acbda0c22f3a2df375ed31a4123e5f2bd761a /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 700d4796ef59f5faf240d307839bd419e2b6bdff (diff) |
bpf: Run sleepable programs with migration disabled
In older non-RT kernels migrate_disable() was the same as preempt_disable().
Since commit 74d862b682f5 ("sched: Make migrate_disable/enable() independent of RT")
migrate_disable() is real and doesn't prevent sleeping.
Running sleepable programs with migration disabled allows to add support for
program stats and per-cpu maps later.
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: KP Singh <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions