Re: [PATCH v11 3/8] cgroup/cpuset: Allow no-task partition to have empty cpuset.cpus.effective

From: Tejun Heo
Date: Sun Jun 12 2022 - 13:41:25 EST


On Sun, Jun 12, 2022 at 07:40:25AM -1000, Tejun Heo wrote:
> Hello,
>
> Sorry about the long delay.
>
> On Tue, May 10, 2022 at 11:34:08AM -0400, Waiman Long wrote:
> > Once a partition with empty "cpuset.cpus.effective" is formed, no
> > new task can be moved into it until "cpuset.cpus.effective" becomes
> > non-empty.
>
> This is always true due to no-tasks-in-intermediate-cgroups requirement,
> right?

or rather, I should have asked, why does this need an explicit check?

Thanks.

--
tejun