lkml.org 
[lkml]   [2018]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v11 7/9] cpuset: Expose cpus.effective and mems.effective on cgroup v2 root
Hello,

On Fri, Jul 20, 2018 at 04:45:49AM -0700, Tejun Heo wrote:
> > > 2. take away any given cpu from ist subtree.
> >
> > I really hate this obsession of yours and doubly so for partitions. But
> > why would this currently not be allowed?
>
> Well, sorry that you hate it. It's a fundamental architectural
> constraint. If it can't satisfy that, it should't be in cgroup.

Just in case it wasn't clear from previous the exchanges, basic
architecture designs like this are what makes things like delegation
actually useful across all controllers. If we allow a descendant in
the hierarchy to restrict waht its ancestors can do, it becomes really
painful operationally.

For now, I'd suggest just doing it at the first child level and move
on unless there are clear use cases where nested partitions are
useful, which I find unlikely given the nature of the operation -
partitions don't really have anything to do with one another.

Thanks.

--
tejun

\
 
 \ /
  Last update: 2018-07-20 14:05    [W:0.099 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site