On Tue, Dec 10, 2013 at 2:58 AM, Peter Zijlstra <pet...@infradead.org> wrote:
> Ooh, sg_capacity() is generating the /0.. > > Does the below work too? > > --- > kernel/sched/core.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > index 87c3bc47d99d..40b185f5a3ec 100644 > --- a/kernel/sched/core.c > +++ b/kernel/sched/core.c > @@ -5115,6 +5115,7 @@ build_overlap_sched_groups(struct sched_domain *sd, int > cpu) > * die on a /0 trap. > */ > sg->sgp->power = SCHED_POWER_SCALE * cpumask_weight(sg_span); > + sg->sgp->power_orig = sg->sgp->power; > > /* > * Make sure the first group of this domain contains the Yes, it works. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/