[PATCH v2 01/11] sched: shortcut to remove load_idx

2014-02-16 Thread Alex Shi
Shortcut to remove rq->cpu_load[load_idx] effect in scheduler. In five load idx, only busy_idx, idle_idx are not zero. Newidle_idx, wake_idx and fork_idx are all zero in all archs. So, change the idx to zero here can fully remove load_idx effect. Signed-off-by: Alex Shi --- kernel/sched/fair.c

[PATCH v2 01/11] sched: shortcut to remove load_idx

2014-02-16 Thread Alex Shi
Shortcut to remove rq-cpu_load[load_idx] effect in scheduler. In five load idx, only busy_idx, idle_idx are not zero. Newidle_idx, wake_idx and fork_idx are all zero in all archs. So, change the idx to zero here can fully remove load_idx effect. Signed-off-by: Alex Shi alex@linaro.org ---