Re: [PATCH] sched: fix env->src_cpu for active migration

From: Vincent Guittot
Date: Wed Feb 13 2013 - 07:09:05 EST


Damien,

Regarding your sched_domain config and especially the flags field, you
should not be impacted by my patch because
- need_active_balance is the only new place that use env->src_cpu in
the load_balance function
- and your machine will never test the condition: "env->src_cpu >
env->dst_cpu" in need_active_balance because SD_ASYM_PACKING is not
set in your config

Have you tested the patch with others that could have modified the
load_balance function ?

Vincent

On 13 February 2013 10:21, Damien Wyart <damien.wyart@xxxxxxxxx> wrote:
> Hi,
>
>> Thanks for the test and the feedback.
>> Could you send me the sched_domain configuration of your machine with
>> the kernel that boots on your machine ?
>> It's available in /proc/sys/kernel/sched_domain/cpu*/
>
> I attach to this mail the sched_domain info, the contents of
> /proc/cpuinfo and my kernel config.
>
> --
> Damien
--
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/