Re: [PATCH] cpuset: Fix multi-source deadline task accounting and bandwidth bypass

From: Aaron Tomlin

Date: Sat May 16 2026 - 01:48:12 EST


On Thu, May 14, 2026 at 12:26:35AM -0400, Waiman Long wrote:
> > A concurrent sched_setscheduler() could alter the scheduling class of a
> > task between the initial pass and a rollback. This assertion seems valid to
> > me. Currently, neither cgroup_mutex or cpuset_mutex prevents scheduling
> > class changes.
> >
> > Should I let you handle this too?
>
> No, you can handle it if you want. I am more familiar with the cpuset code,
> but scheduler is much more complex. I don't think I have enough
> understanding of the code to handle it correctly.

Hi Longman,

I'll give it a try and rebase against your final changes.

Kind regards,
--
Aaron Tomlin