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

Joel Fernandes
2025-06-30T14:50:26Z

On Mon, Jun 23, 2025 at 10:20:01AM -1000, Tejun Heo wrote:
> 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

Agreed, will fix. Thanks!

- Joel