sched: wrap sched_group and sched_domain cpumask accesses.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 24 Nov 2008 16:05:04 +0000 (02:35 +1030)
committerIngo Molnar <mingo@elte.hu>
Mon, 24 Nov 2008 16:50:45 +0000 (17:50 +0100)
commit758b2cdc6f6a22c702bd8f2344382fb1270b2161
tree270aec3d0f6235c1519c16e8dc8148f195e133db
parent1e5ce4f4a755ee498bd9217dae26143afa0d8f31
sched: wrap sched_group and sched_domain cpumask accesses.

Impact: trivial wrap of member accesses

This eases the transition in the next patch.

We also get rid of a temporary cpumask in find_idlest_cpu() thanks to
for_each_cpu_and, and sched_balance_self() due to getting weight before
setting sd to NULL.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/sched.c
kernel/sched_fair.c
kernel/sched_rt.c
kernel/sched_stats.h