Skip to contentSkip to conversation

cpusets: document proc status cpus and mems allowed lists

PATCH In review Paul Jackson 2 participants 2 messages Jun 27, 2008 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpusets: document proc status cpus and mems allowed lists

From: Paul Jackson <[email protected]>

Provide a little documentation for the two new fields, Cpus_allowed_list and Mems_allowed_list, that were added to each /proc/<pid>/status file a while back.

---
 Documentation/cpusets.txt |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Documentation/cpusets.txt +4 -2
@@ -154,13 +154,15 @@ browsing and modifying the cpusets prese
 new system calls are added for cpusets - all support for querying and
 modifying cpusets is via this cpuset file system.
 
-The /proc/<pid>/status file for each task has two added lines,
+The /proc/<pid>/status file for each task has four added lines,
 displaying the tasks cpus_allowed (on which CPUs it may be scheduled)
 and mems_allowed (on which Memory Nodes it may obtain memory),
-in the format seen in the following example:
+in the two formats seen in the following example:
 
   Cpus_allowed:   ffffffff,ffffffff,ffffffff,ffffffff
+  Cpus_allowed_list:      0-127
   Mems_allowed:   ffffffff,ffffffff
+  Mems_allowed_list:      0-63
 
 Each cpuset is represented by a directory in the cgroup file system
 containing (on top of the standard cgroup files) the following
Signature · 3 lines
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <[email protected]> 1.650.933.1373
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Paul Jackson

From: Paul Jackson <[email protected]>

Provide a little documentation for the two new fields, Cpus_allowed_list and Mems_allowed_list, that were added to each /proc/<pid>/status file a while back.

Quoted 30 lines
---
 Documentation/cpusets.txt |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Documentation/cpusets.txt 2008-06-27 06:55:34.609862065 -0700 renamed from Documentation/cpusets.txt 2008-06-27 06:20:55.000000000 -0700 +4 -3
@@ -154,13 +154,15 @@ browsing and modifying the cpusets prese
 new system calls are added for cpusets - all support for querying and
 modifying cpusets is via this cpuset file system.
 
-The /proc/<pid>/status file for each task has two added lines,
+The /proc/<pid>/status file for each task has four added lines,
 displaying the tasks cpus_allowed (on which CPUs it may be scheduled)
 and mems_allowed (on which Memory Nodes it may obtain memory),
-in the format seen in the following example:
+in the two formats seen in the following example:
 
  Cpus_allowed:   ffffffff,ffffffff,ffffffff,ffffffff
+  Cpus_allowed_list:      0-127
  Mems_allowed:   ffffffff,ffffffff
+  Mems_allowed_list:      0-63
 
 Each cpuset is represented by a directory in the cgroup file system
 containing (on top of the standard cgroup files) the following
 
--
                         I won't rest till it's the best ...
                         Programmer, Linux Scalability
                         Paul Jackson <[email protected]> 1.650.933.1373
Signature · 4 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html