]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit8e93a04780f47a606db5a191e56b12fa402bcbe6
treef9955ff697b7569fc75e5b8683d886315f34ac49
parentb029e0afd10ba36da8ceebed9a84f39ac98bb62f
[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