[LTP] [PATCH v3 6/8] sched: Limit sysctl sched_rt_{period|runtime}_us to RT_GROUP_SCHED
Sebastian Andrzej Siewior
bigeasy@linutronix.de
Thu Nov 19 15:23:48 CET 2026
On 2026-11-19 22:11:10 [+0800], kernel test robot wrote:
> [1;31mBroken: [0m
> • proc_sched_rt01
>
> [1;31mFailures: [0m
> • proc_sched_rt01
>
> Session stopped
> LTP test details
> ----------------
> starvation: starvation.c:115: TCONF: Skip test due to slow kernel configuration
> proc_sched_rt01: proc_sched_rt01.c:45: TFAIL: echo 0 > /proc/sys/kernel/sched_rt_period_us expected EINVAL: EBADF (9)
> proc_sched_rt01: proc_sched_rt01.c:47: TFAIL: echo -1 > /proc/sys/kernel/sched_rt_period_us expected EINVAL: EBADF (9)
> proc_sched_rt01: proc_sched_rt01.c:53: TFAIL: echo -2 > /proc/sys/kernel/sched_rt_runtime_us expected EINVAL: EBADF (9)
> proc_sched_rt01: proc_sched_rt01.c:62: TBROK: Failed to open FILE '/proc/sys/kernel/sched_rt_period_us' for reading: ENOENT (2)
The test writes to those fies and now complains because the files don't
exist. My intention was to remove those files because writing to them
serves no purpose and people don't know this and _assume_ they disable
RT throttling.
Sebastian
More information about the ltp
mailing list