]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'selftests/bpf: fix flaky send_signal test'
authorAndrii Nakryiko <andrii@kernel.org>
Tue, 17 Aug 2021 21:08:31 +0000 (14:08 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 17 Aug 2021 21:08:31 +0000 (14:08 -0700)
commit78d2fb77fe084d1ff7ce184d0e5810c57bd937ce
tree0dc3cebe163058e198e270ed5681468ed6526ab3
parent728aae6f73374bb763cc39d02a3d568ccbd66514
parent2b2000ad15baaab41a0f834777f0d0af7d4bab34
Merge branch 'selftests/bpf: fix flaky send_signal test'

Yonghong Song says:

====================

The bpf selftest send_signal() is flaky for its subtests trying to
send signals in softirq/nmi context. To reduce flakiness, the
signal-targetted process priority is boosted, which should minimize
preemption of that process and improve the possibility that
the underlying task in softirq/nmi context is the bpf_send_signal()
wanted task.

Patch #1 did a refactoring to use ASSERT_* instead of old CHECK macros.
Patch #2 did actual change of boosting priority.

Changelog:
  v1 -> v2:
    remove skip logic where the underlying task in interrupt context
    is not the intended one.
====================

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>