lkml.org 
[lkml]   [2023]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v4 8/9] cgroup/cpuset: Documentation update for partition
From
On 7/10/23 17:30, Tejun Heo wrote:
> Hello,
>
> On Tue, Jun 27, 2023 at 10:35:07AM -0400, Waiman Long wrote:
> ...
>> + There are two types of partitions - local and remote. A local
>> + partition is one whose parent cgroup is also a valid partition
>> + root. A remote partition is one whose parent cgroup is not a
>> + valid partition root itself. Writing to "cpuset.cpus.exclusive"
>> + is not mandatory for the creation of a local partition as its
>> + "cpuset.cpus.exclusive" file will be filled in automatically if
>> + it is not set. The automaticaly set value will be based on its
>> + "cpuset.cpus" value. Writing the proper "cpuset.cpus.exclusive"
>> + values down the cgroup hierarchy is mandatory for the creation
>> + of a remote partition.
> Wouldn't a partition root's cpus.exclusive always contain all of the CPUs in
> its cpus? Would it make sense for cpus.exclusive to be different from .cpus?
>
> Thanks.

In auto-filled case, it should be the same as cpuset.cpus. I will
clarify that in the documentation. Thanks for catching that.

Cheers,
Longman

\
 
 \ /
  Last update: 2023-07-11 02:23    [W:0.115 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site