Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Simon Horman and committed by
Linus Torvalds
2400ff77 bf703c3f

+3
+3
Documentation/cpusets.txt
··· 557 557 Add some cpus: 558 558 # /bin/echo 0-7 > cpus 559 559 560 + Add some mems: 561 + # /bin/echo 0-7 > mems 562 + 560 563 Now attach your shell to this cpuset: 561 564 # /bin/echo $$ > tasks 562 565