2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/lib/livepatch
Joe Lawrence 547840bd5a selftests/livepatch: simplify test-klp-callbacks busy target tests
The test-klp-callbacks script includes a few tests which rely on kernel
task timings that may not always execute as expected under system load.
These may generate out of sequence kernel log messages that result in
test failure.

Instead of using sleep timing windows to orchestrate these tests, add a
block_transition module parameter to communicate the test purpose and
utilize flush_queue() to serialize the test module's task output.

Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20200603182058.109470-2-ycote@redhat.com
2020-06-08 10:36:10 +02:00
..
Makefile livepatch: Selftests of the API for tracking system state changes 2019-11-01 13:08:29 +01:00
test_klp_atomic_replace.c selftests/livepatch: introduce tests 2019-01-11 20:51:24 +01:00
test_klp_callbacks_busy.c selftests/livepatch: simplify test-klp-callbacks busy target tests 2020-06-08 10:36:10 +02:00
test_klp_callbacks_demo2.c selftests/livepatch: introduce tests 2019-01-11 20:51:24 +01:00
test_klp_callbacks_demo.c selftests/livepatch: introduce tests 2019-01-11 20:51:24 +01:00
test_klp_callbacks_mod.c selftests/livepatch: introduce tests 2019-01-11 20:51:24 +01:00
test_klp_livepatch.c selftests/livepatch: introduce tests 2019-01-11 20:51:24 +01:00
test_klp_shadow_vars.c livepatch/samples/selftest: Use klp_shadow_alloc() API correctly 2020-01-17 11:12:06 +01:00
test_klp_state2.c livepatch: Selftests of the API for tracking system state changes 2019-11-01 13:08:29 +01:00
test_klp_state3.c livepatch: Selftests of the API for tracking system state changes 2019-11-01 13:08:29 +01:00
test_klp_state.c livepatch: Selftests of the API for tracking system state changes 2019-11-01 13:08:29 +01:00