[PATCH v2 08/15] selftests/sched: Migrate cs_prctl_test to kselfttest

2024-03-12 Thread Joel Fernandes (Google)
This test begs to be a kselftest, is in the kselftest hierarchy and does not even use a single kselftest API. Convert it. It simplifies some of the code and the output also looks much nicer now: Totals: pass:17 fail:0 xfail:0 xpass:0 skip:0 error:0 Signed-off-by: Joel Fernandes (Google

[PATCH v2 07/15] selftests/sched: Add a test to verify that DL server works with core scheduling

2024-03-12 Thread Joel Fernandes (Google)
9 seconds. We expect the CFS task (PID 7) to get ~50% of the 9 seconds. The DL server is configured for 50% bandwidth. The RT tasks (PID 98, 99) each get 50% as well, because they run concurrently on 2 hyperthreads of a core. Signed-off-by: Joel Fernandes (Google) --- tools/testing/selft

[PATCH 08/10] selftests/sched: Migrate cs_prctl_test to kselfttest

2024-02-16 Thread Joel Fernandes (Google)
This test begs to be a kselftest, is in the kselftest hierarchy and does not even use a single kselftest API. Convert it. It simplifies some of the code and the output also looks much nicer now: Totals: pass:17 fail:0 xfail:0 xpass:0 skip:0 error:0 Signed-off-by: Joel Fernandes (Google

[PATCH 07/10] selftests/sched: Add a test to verify that DL server works with core scheduling

2024-02-16 Thread Joel Fernandes (Google)
9 seconds. We expect the CFS task (PID 7) to get ~50% of the 9 seconds. The DL server is configured for 50% bandwidth. The RT tasks (PID 98, 99) each get 50% as well, because they run concurrently on 2 hyperthreads of a core. Signed-off-by: Joel Fernandes (Google) --- tools/testing/selft