aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2007-04-02 02:49:40 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-02 13:06:08 -0400
commit2400ff77e7025bf6ffb71afdcbfbdd9aa47dfc36 (patch)
tree6aade9c4ab95e81ef6385ed84d4dc2f4a5f9f2d4 /Documentation
parentbf703c3f199342da440a30798b6120f391741ffe (diff)
[PATCH] CPUSETS: add mems to basic usage documentation
It seems that there must be at least one node in mems and at least one CPU in cpus in order to be able to assign tasks to a cpuset. This makes sense. And I think it would also make sense to include a mems setting in the basic usage section of the documentation. I also wonder if something logged to dmsg, explaining why a write failed, would be a good enhancement. I ended up having rummage arround in cpuset.c in order to work out why my configuration was failing. Signed-off-by: Simon Horman <horms@verge.net.au> Acked-by: Paul Jackson <pj@sgi.com> Cc: Paul Menage <menage@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/cpusets.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/cpusets.txt b/Documentation/cpusets.txt
index 842f0d1ab216..f2c0a6842930 100644
--- a/Documentation/cpusets.txt
+++ b/Documentation/cpusets.txt
@@ -557,6 +557,9 @@ Set some flags:
557Add some cpus: 557Add some cpus:
558# /bin/echo 0-7 > cpus 558# /bin/echo 0-7 > cpus
559 559
560Add some mems:
561# /bin/echo 0-7 > mems
562
560Now attach your shell to this cpuset: 563Now attach your shell to this cpuset:
561# /bin/echo $$ > tasks 564# /bin/echo $$ > tasks
562 565