Re: [PATCH v12 18/43] selftests/sched: Test the root domain of a task in deadline_bw_test
From: Mathieu Desnoyers
Date: Tue Dec 01 2026 - 11:19:52 EST
> Will set_deadline() fail with EPERM here when more than two CPUs are
> isolated with isolcpus=domain (nisol > 2)?
Yes. Admission control needs the affinity of the task to hold every CPU
of def_root_domain. hotplug_user_mask_refused() allows only two of the
isolated CPUs. With three or more isolated CPUs, set_deadline() fails,
and so does the case. In v13, the task will allow every isolated CPU at
first. The case then passes with three and four isolated CPUs.
Thanks,
Mathieu