Re: [PATCH] cpusets: document proc status cpus and mems allowed lists

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [PATCH] cpusets: document proc status cpus and mems allowed lists

by Subrata Modak-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Paul,

How about some test cases for the CPUSETS that you may have with you, for contributing to the Linux Test Project (http://ltp.sourceforge.net/).

Regards--
Subrata

On Fri, Jun 27, 2008 at 7:35 PM, Paul Jackson <pj@...> wrote:
From: Paul Jackson <pj@...>

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.

Signed-off-by: Paul Jackson <pj@...>

---
 Documentation/cpusets.txt |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--- 2.6.26-rc5-mm3.orig/Documentation/cpusets.txt       2008-06-27 06:20:55.000000000 -0700
+++ 2.6.26-rc5-mm3/Documentation/cpusets.txt    2008-06-27 06:55:34.609862065 -0700
@@ -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 <pj@...> 1.650.933.1373
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



--
Regards & Thanks--
Subrata
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Ltp-list mailing list
Ltp-list@...
https://lists.sourceforge.net/lists/listinfo/ltp-list

Re: [PATCH] cpusets: document proc status cpus and mems allowed lists

by Paul Jackson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Subrata wrote:
> How about some test cases for the CPUSETS that you may have with you, for
> contributing to the Linux Test Project (http://ltp.sourceforge.net/).

My cpuset regression test is old, and doesn't test features added in
the last couple of years.

You're welcome to included it in LTP, if you find it useful.
See the attached 'cpuset_test'.

--
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@...> 1.940.382.4214


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Ltp-list mailing list
Ltp-list@...
https://lists.sourceforge.net/lists/listinfo/ltp-list

cpuset_test (10K) Download Attachment
LightInTheBox - Buy quality products at wholesale price