Re: [patch] sched: fix macro -> inline function conversion bug

From: Ingo Molnar
Date: Mon Jul 03 2006 - 02:06:55 EST



* Andrew Morton <akpm@xxxxxxxx> wrote:

> > i checked the scheduler queue and nothing jumped out at me, except
> > the cleanup bug fixed by the patch below. (which should be harmless
> > in this particular case - nr_running should never be smaller than 0
> > or larger than ~4 billion. A fix is warranted nevertheless.)
>
> Did you work out which divide is getting the div-by-zero? I started
> at it a bit and wasn't sure - am getting wildly different code
> generation over here.

my bet is on sched-group-cpu-power-setup-cleanup.patch.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/