]> err.no Git - linux-2.6/commit
cpusets: restructure the function update_cpumask() and update_nodemask()
authorMiao Xie <miaox@cn.fujitsu.com>
Fri, 25 Jul 2008 08:47:21 +0000 (01:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:37 +0000 (10:53 -0700)
commit0b2f630a28d53b5a2082a5275bc3334b10373508
tree24f7aa54cedcf941b89f59c964873f3034e76b23
parent628f42355389cfb596ca3a5a5f64fb9054a2a06a
cpusets: restructure the function update_cpumask() and update_nodemask()

Extract two functions from update_cpumask() and update_nodemask().They
will be used later for updating tasks' cpus_allowed and mems_allowed after
CPU/NODE offline/online.

[lizf@cn.fujitsu.com: build fix]
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Acked-by: Paul Jackson <pj@sgi.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/cpuset.c