Re: [PATCH v13 00/11] cpuset: Enable cpuset controller in default hierarchy
From: Waiman Long
Date: Mon Oct 15 2018 - 13:04:28 EST
On 10/15/2018 12:35 PM, Tejun Heo wrote:
> Hello, Waiman.
>
> This looks great to me. I have only one small nit in terms of
> interface. Currently, cpuset.partition file uses -1, 0, 1; however,
> given that this is consistent with how cgroup.type behaves (something
> can be set but may be invalid), I wonder whether using a similar
> syntax would be more consistent. e.g. sth like cpuset.type which
> takes "normal" or "partition" and shows one of "normal", "partition"
> and "partition invalid". I'd be perfectly happy with that being a
> follow-up patch.
Sure. I can send a follow-up patch to add that.
> Peter, does the patchset look good to you? It does everything we want
> it to in terms of sched domain partitioning and is compliant all
> cgroup2 conventions. If so, I'll apply the series to the cgroup devel
> branch.
>
> Thank you very much for the work and persistence!
>
Thanks for the comment. There is a minor bug in patch 3 because of the 2
possibilities of how cpumask_var_t can be defined. I will send updated
version of that patch to fix that.
-Longman