[PATCH v2 05/11] sched: rewrite update_cpu_load_nohz

2014-02-16 Thread Alex Shi
After change to sched_avg, the cpu load in idle exit was decayed. So, it maybe near zero if waking a long time sleep task, or, a full non-decay load if waking a new forked task. Then, we can use it to reflect the cpu load, don't need to pretend 0. Signed-off-by: Alex Shi --- kernel/sched/proc.c

[PATCH v2 05/11] sched: rewrite update_cpu_load_nohz

2014-02-16 Thread Alex Shi
After change to sched_avg, the cpu load in idle exit was decayed. So, it maybe near zero if waking a long time sleep task, or, a full non-decay load if waking a new forked task. Then, we can use it to reflect the cpu load, don't need to pretend 0. Signed-off-by: Alex Shi alex@linaro.org ---