]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] mbind: restrict nodes to the currently allowed cpuset
authorChristoph Lameter <clameter@sgi.com>
Tue, 23 Jan 2007 04:40:45 +0000 (20:40 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 23 Jan 2007 15:52:06 +0000 (07:52 -0800)
commit30150f8d7b76f25b1127a5079528b7a17307f995
tree3ea69d5dbd7b131fc32bbf416ba9970079bd25c6
parent79603a35009ff39562cd5634fa1cf513eb080f27
[PATCH] mbind: restrict nodes to the currently allowed cpuset

Currently one can specify an arbitrary node mask to mbind that includes
nodes not allowed.  If that is done with an interleave policy then we will
go around all the nodes.  Those outside of the currently allowed cpuset
will be redirected to the border nodes.  Interleave will then create
imbalances at the borders of the cpuset.

This patch restricts the nodes to the currently allowed cpuset.

The RFC for this patch was discussed at
http://marc.theaimsgroup.com/?t=116793842100004&r=1&w=2

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Paul Jackson <pj@sgi.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mempolicy.c