Thread (45 messages) 45 messages, 3 authors, 2018-08-18

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

From: Tejun Heo <tj@kernel.org>
Date: 2018-07-19 17:25:56
Also in: cgroups, lkml

Hello, Waiman.

On Thu, Jul 19, 2018 at 01:22:36PM -0400, Waiman Long wrote:
...
Do you want a way at the parent level to take CPUs away from child
partitions? The "cpus.subpart" file can probably be used also for this
purpose, but we have to decide what taking CPUs away from child
partition means. Does that mean automatically turn off the partition
flag in the children if there is no CPU left in the partition? There are
Yeah, I think so.  That's what we do when cpuset.cpus or mems go empty
- ignoring the config.
some implementation details that need to be fleshed out. I would prefer
not doing this as this will complicate the code without too much benefit
that I can see.
So, given how long this has been dragging along and it isn't yet super
clear to me why this needs to be fully hierarchical, I'd actually
prefer just restricting it to the first level children.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help