[RFC PATCH 1/4] sched: shortcut to remove load_idx effect

2013-11-21 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. Signed-off-by: Alex Shi --- kernel/sched/fair.c | 2 +-

[RFC PATCH 1/4] sched: shortcut to remove load_idx effect

2013-11-21 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. Signed-off-by: Alex Shi alex@linaro.org ---