Home
last modified time | relevance | path

Searched hist:"6 eac7795e8ef75de062c8f5bdb9520c9f0f065fa" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/lib/
H A Dtest_bpf.cdiff 6eac7795e8ef75de062c8f5bdb9520c9f0f065fa Mon Feb 24 08:01:44 CST 2020 David Miller <davem@davemloft.net> 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
/openbmc/linux/net/bpf/
H A Dtest_run.cdiff 6eac7795e8ef75de062c8f5bdb9520c9f0f065fa Mon Feb 24 08:01:44 CST 2020 David Miller <davem@davemloft.net> 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