sched: Always initialize cpu-power
Often when we run into mis-shapen topologies the balance iteration fails to update the cpu power properly and we'll end up in /0 traps. Always initialize the cpu-power to a semi-sane value so that we can at least boot the machine, even if the load-balancer might not function correctly. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/n/tip-3lbhyj25sr169ha7z3qht5na@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:

committed by
Ingo Molnar

parent
c117487687
commit
c3decf0dfb
@@ -3602,7 +3602,7 @@ void update_group_power(struct sched_domain *sd, int cpu)
|
||||
} while (group != child->groups);
|
||||
}
|
||||
|
||||
sdg->sgp->power = power;
|
||||
sdg->sgp->power_orig = sdg->sgp->power = power;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user