Re: [PATCH v12 05/43] selftests/sched: Test SCHED_DEADLINE bandwidth across a root domain rebuild
From: Mathieu Desnoyers
Date: Tue Dec 01 2026 - 11:19:19 EST
> Can calling kill(pid, SIGKILL) before set_other(pid) leave the 600ms/s
> bandwidth of task 'a' from check_p() allocated past the end of the test
> case?
Yes, but not for long. Task a sleeps until reap() kills it. The kill
wakes it with a new period. It then runs only until set_other() or its
exit. Its reservation is 600ms every second. So its 0-lag time comes at
most 2/3 of that run time after it leaves. The next case admits its task
much later, after several cpuset writes and rebuilds of the sched
domains. The inactive timer has fired by then. v13 leaves the test as it
is.
Thanks,
Mathieu