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

From: Waiman Long
Date: Mon Jun 13 2022 - 15:04:34 EST


On 6/13/22 10:02, Michal Koutný wrote:
On Sun, Jun 12, 2022 at 04:55:13PM -1000, Tejun Heo <tj@xxxxxxxxxx> wrote:
But how would that happen? A lot of other things would break too if that
were to happen.
cpuset is a threaded controller where the internal-node-constraint does
not hold. So the additional condition for cpuset migrations is IMO
warranted (and needed if there's no "fall up").

Yes, you are right. cpuset is threaded and so it may have tasks even if it is not the leaf node.

Thanks,
Longman