Re: [PATCH][1/4] sched: store weighted load on up

From: Peter Williams
Date: Mon Mar 13 2006 - 17:41:54 EST


Ingo Molnar wrote:
* Con Kolivas <kernel@xxxxxxxxxxx> wrote:


Modify the smp nice code to store load_weight on uniprocessor as well to allow relative niceness on one cpu to be assessed. Minor cleanups and uninline set_load_weight().

Signed-off-by: Con Kolivas <kernel@xxxxxxxxxxx>


agreed. This only affects a scheduler slowpath [setscheduler()].

Acked-by: Ingo Molnar <mingo@xxxxxxx>

It also effects task activation/deactivation but that's on a relatively slow path and is just an addition/subtraction respectively.

Peter
--
Peter Williams pwil3058@xxxxxxxxxxxxxx

"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
-
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/