Re: [patch] CFS scheduler, -v14

From: Ingo Molnar
Date: Tue May 29 2007 - 04:07:57 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

> > [...] in update_stats_enqueue(), It seem that these statements in
> > two brances of "if (p->load_weight > NICE_0_LOAD)" are same, is it
> > on purpose?
>
> what do you mean?

you are right indeed. Mike Galbraith has sent a cleanup patch that
removes that duplication (and uses div64_s()).

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/