Re: [PATCH v2 2/6] cgroup/cpuset: Clarify the use of invalid partition root

Tejun Heo
2021-06-26T10:53:45Z

Hello, Waiman.

On Mon, Jun 21, 2021 at 02:49:20PM -0400, Waiman Long wrote:
> 1) A partition root can't be changed to member if it has child partition
> roots.
> 2) Removing CPUs from cpuset.cpus that causes it to become invalid is
> not allowed.

I'm not a fan of this approach. No matter what we have to be able to handle
CPU removals which are user-iniated operations anyway, so I don't see why
we're adding a different way of handling a different set of operations. Just
handle them the same?

Thanks.

--
tejun