Re: [PATCH v11 7/9] cpuset: Expose cpus.effective and mems.effective on cgroup v2 root

From: Waiman Long
Date: Fri Jul 20 2018 - 13:09:30 EST


On 07/20/2018 12:37 PM, Peter Zijlstra wrote:
> On Fri, Jul 20, 2018 at 12:19:29PM -0400, Waiman Long wrote:
>> I am not against the idea of making it hierarchical eventually. I am
>> just hoping to get thing going by merging the patchset in its current
>> form and then we can make it hierarchical in a followup patch.
> Where's the rush? Why can't we do this right in one go?

For me, the rush comes from RHEL8 as it is a goal to have a fully
functioning cgroup v2 in that release.

I also believe that most of the use cases of partition can be satisfied
with partitions at the first level children. Getting hierarchical
partition right may drag on for half a year, maybe, giving our history
with cpu v2 controller. No matter what we do to enable hierarchical
partition in the future, the current model of using a partition flag is
intuitive enough that it won't be changed at least for the first level
children.

Cheers,
Longman