[PATCH 2/6] sched/fair: Defer calculation of prev_eff_load in wake_affine until needed

2018-02-13 Thread Mel Gorman
On sync wakeups, the previous CPU effective load may not be used so delay the calculation until it's needed. Signed-off-by: Mel Gorman --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c

[PATCH 2/6] sched/fair: Defer calculation of prev_eff_load in wake_affine until needed

2018-02-13 Thread Mel Gorman
On sync wakeups, the previous CPU effective load may not be used so delay the calculation until it's needed. Signed-off-by: Mel Gorman --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index