]> git.baikalelectronics.ru Git - kernel.git/commit
cpusets: allow empty {cpus,mems}_allowed to be set for unpopulated cpuset
authorDavid Rientjes <rientjes@google.com>
Tue, 8 May 2007 07:31:43 +0000 (00:31 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:14 +0000 (11:15 -0700)
commit52e13843d29e9e2a685ebf6f063872d3e679535e
treea0ead177a4faaafdfa400ff9de3c992603e42f4d
parent811dbc54ec1dcb0f5bc9958e4e9f9967da1eaa8e
cpusets: allow empty {cpus,mems}_allowed to be set for unpopulated cpuset

You currently cannot remove all cpus or mems from cpus_allowed or
mems_allowed of a cpuset.  We now allow both if there are no attached
tasks.

Acked-by: Paul Jackson <pj@sgi.com>
Cc: Christoph Lameter <clameter@engr.sgi.com>
Signed-off-by: Paul Menage <menage@google.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/cpuset.c