Re: [PATCH v5 05/14] sched/deadline: Return EBUSY if dl_bw_cpus is zero

From: Tejun Heo
Date: Mon Jun 23 2025 - 16:20:08 EST


On Fri, Jun 20, 2025 at 04:32:20PM -0400, Joel Fernandes wrote:
> - if (__dl_overflow(dl_b, cap, old_bw, new_bw))
> + // Hotplugged CPUs coming online do an enqueue but are not a part of any
> + // root domain containing cpu_active() CPUs. So in this case, don't mess
> + // with accounting and we can retry later.
> + if (!cpus || __dl_overflow(dl_b, cap, old_bw, new_bw))
> return -EBUSY;

Maybe match the comment style in the file?

Thanks.

--
tejun