[RFC PATCH v2 2/3] sched: build schedule balance map

2013-01-16 Thread Michael Wang
This patch will build schedule balance map as designed, now cpu_sbm->sd[f][l] can directly locate the sd of cpu on level 'l' with flag 'f' supported. In order to quickly locate the lower sd while changing the base cpu, the level with empty sd in map will be filled with the lower sd.

[RFC PATCH v2 2/3] sched: build schedule balance map

2013-01-16 Thread Michael Wang
This patch will build schedule balance map as designed, now cpu_sbm-sd[f][l] can directly locate the sd of cpu on level 'l' with flag 'f' supported. In order to quickly locate the lower sd while changing the base cpu, the level with empty sd in map will be filled with the lower sd.