[PATCH] cpuset: implement cpuset_mems_allowed
authorPaul Jackson <pj@sgi.com>
Sun, 8 Jan 2006 09:01:55 +0000 (01:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:44 +0000 (20:13 -0800)
commit909d75a3b77bdd8baa9429bad3b69a654d2954ce
treef9955ff697b7569fc75e5b8683d886315f34ac49
parentcf2a473c4089aa41c26f653200673f5a4cc25047
[PATCH] cpuset: implement cpuset_mems_allowed

Provide a cpuset_mems_allowed() method, which the sys_migrate_pages() code
needed, to obtain the mems_allowed vector of a cpuset, and replaced the
workaround in sys_migrate_pages() to call this new method.

Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/cpuset.h
kernel/cpuset.c
mm/mempolicy.c