Re: [RFC] cpuset: Enable changing of top_cpuset's mems_allowed nodemask

From: Michal Hocko
Date: Wed Feb 01 2017 - 03:53:37 EST


On Wed 01-02-17 13:01:24, Anshuman Khandual wrote:
[...]
> More importantly it also extends the cpuset memory restriction feature
> to the logical completion without adding any regressions for the
> existing use cases. Then why not do this ? Does it add any overhead ?

Maybe it doesn't add any overhead but it just breaks the cgroups
expectation that the root cgroup covers the full resource set. No cgroup
controller allows to set limits on the root cgroup. So all this looks
like an abuse of the interface.

I haven't read the full series yet but this particular change looks like
a nogo to me.

--
Michal Hocko
SUSE Labs