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 +-
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
---
2 matches
Mail list logo