[PATCH] cpuset: allow a larger buffer for writes to cpuset files
authorPaul Menage <menage@google.com>
Thu, 7 Dec 2006 04:41:37 +0000 (20:41 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:48 +0000 (08:39 -0800)
commitd3ed11c35635487d34ad476e1d6a66dd298ab2de
tree1317e066282dda6b9d4ee44b4f62bfee94625ee1
parent09b882520bbe01f2e5044642109c1c1d19fe3559
[PATCH] cpuset: allow a larger buffer for writes to cpuset files

When using fake NUMA setup, the number of memory nodes can greatly exceed
the number of CPUs.  So the current limit in cpuset_common_file_write() is
insufficient.

Signed-off-by: Paul Menage <menage@google.com>
Acked-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/cpuset.c