[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YqYnQ4U4t6j/3UaL@slm.duckdns.org>
Date: Sun, 12 Jun 2022 07:49:55 -1000
From: Tejun Heo <tj@...nel.org>
To: Waiman Long <longman@...hat.com>
Cc: Zefan Li <lizefan.x@...edance.com>,
Johannes Weiner <hannes@...xchg.org>,
Jonathan Corbet <corbet@....net>,
Shuah Khan <shuah@...nel.org>, cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kselftest@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Roman Gushchin <guro@...com>, Phil Auld <pauld@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Juri Lelli <juri.lelli@...hat.com>,
Frederic Weisbecker <frederic@...nel.org>,
Marcelo Tosatti <mtosatti@...hat.com>,
Michal Koutný <mkoutny@...e.com>
Subject: Re: [PATCH v11 7/8] cgroup/cpuset: Update description of
cpuset.cpus.partition in cgroup-v2.rst
Hello,
On Tue, May 10, 2022 at 11:34:12AM -0400, Waiman Long wrote:
> + External events like hotplug or changes to "cpuset.cpus" can
> + cause a valid partition root to become invalid and vice versa.
> + Note that a task cannot be moved to a cgroup with empty
> + "cpuset.cpus.effective".
> +
> + For a valid partition root or an invalid partition root with
> + the exclusivity rule enabled, changes made to "cpuset.cpus"
> + that violate the exclusivity rule will not be allowed.
My memory is failing but this is the same thing that we were discussing
before, right? The point was that the different behaviors re. system events
and config actions seemed unncessary and IIRC Michal was of the same opinion
(please correct me if I'm misremembering).
> + A valid non-root parent partition may distribute out all its CPUs
> + to its child partitions when there is no task associated with it.
I'm probably forgetting something. Was this necessary because of threaded
cgroup support because otherwise the above condition is superflous?
Thanks.
--
tejun
Powered by blists - more mailing lists