On 05/02/2013 09:19 PM, Peter Zijlstra wrote:
>
> I'm fairly sure this is wrong; but I haven't bothered to take pencil to paper.
>
> I think you'll need to insert the runnable avg load and make sure
> effective_load() uses the right sums itself.
Thanks for comment!
I changed it to the following
> @@ -3120,6 +3124,7 @@ static int wake_affine(struct sched_domain *sd, struct
> task_struct *p, int sync)
> struct task_group *tg;
> unsigned long weight;
> int balanced;
> + int runnable_avg;
>
> idx = sd->wake_idx;
> this_cpu = smp_processor_id();
> @@
2 matches
Mail list logo