[PATCH 0/2] docs: cgroup-v2: Correct cpuset CPU descriptions

Guopeng Zhang posted 2 patches 6 days, 13 hours ago
There is a newer version of this series
Documentation/admin-guide/cgroup-v2.rst | 37 ++++++++++++++++---------
1 file changed, 24 insertions(+), 13 deletions(-)
[PATCH 0/2] docs: cgroup-v2: Correct cpuset CPU descriptions
Posted by Guopeng Zhang 6 days, 13 hours ago
From: Guopeng Zhang <zhangguopeng@kylinos.cn>

The cpuset interface documentation says cpuset.cpus.isolated is empty
unless an isolated partition exists, omitting CPUs isolated at boot with
isolcpus=domain. Its cpuset.cpus.effective description also assumes CPUs
come from the immediate parent and are normally a subset of
cpuset.cpus, which is not always true for valid non-root partition roots.

Update both descriptions to match the existing behavior.

Guopeng Zhang (2):
  docs: cgroup-v2: Describe boot-isolated CPUs in cpuset.cpus.isolated
  docs: cgroup-v2: Describe effective CPUs of partition roots

 Documentation/admin-guide/cgroup-v2.rst | 37 ++++++++++++++++---------
 1 file changed, 24 insertions(+), 13 deletions(-)

-- 
2.43.0
Re: [PATCH 0/2] docs: cgroup-v2: Correct cpuset CPU descriptions
Posted by Waiman Long 3 days, 7 hours ago
On 9/18/26 6:23 AM, Guopeng Zhang wrote:
> From: Guopeng Zhang <zhangguopeng@kylinos.cn>
>
> The cpuset interface documentation says cpuset.cpus.isolated is empty
> unless an isolated partition exists, omitting CPUs isolated at boot with
> isolcpus=domain. Its cpuset.cpus.effective description also assumes CPUs
> come from the immediate parent and are normally a subset of
> cpuset.cpus, which is not always true for valid non-root partition roots.
>
> Update both descriptions to match the existing behavior.

The behavior of cpuset partitions have evolved over time and the 
documentation doesn't fully reflect the current behavior. Your 2 docs 
patch look good so far and I am looking forward to your v2 patches.

Cheers,
Longman

> Guopeng Zhang (2):
>    docs: cgroup-v2: Describe boot-isolated CPUs in cpuset.cpus.isolated
>    docs: cgroup-v2: Describe effective CPUs of partition roots
>
>   Documentation/admin-guide/cgroup-v2.rst | 37 ++++++++++++++++---------
>   1 file changed, 24 insertions(+), 13 deletions(-)
>