Re: [PATCH 02/10] sched: fix find_idlest_group mess logical

2012-12-08 Thread Alex Shi
On 12/07/2012 04:33 PM, Frederic Weisbecker wrote: > 2012/12/7 Alex Shi : >> On 12/07/2012 08:56 AM, Frederic Weisbecker wrote: >>> 2012/12/3 Alex Shi : There is 4 situations in the function: 1, no task allowed group; so min_load = ULONG_MAX, this_load = 0, idlest = NULL

Re: [PATCH 02/10] sched: fix find_idlest_group mess logical

2012-12-08 Thread Alex Shi
On 12/07/2012 04:33 PM, Frederic Weisbecker wrote: 2012/12/7 Alex Shi alex@intel.com: On 12/07/2012 08:56 AM, Frederic Weisbecker wrote: 2012/12/3 Alex Shi alex@intel.com: There is 4 situations in the function: 1, no task allowed group; so min_load = ULONG_MAX, this_load = 0,

Re: [PATCH 02/10] sched: fix find_idlest_group mess logical

2012-12-07 Thread Frederic Weisbecker
2012/12/7 Alex Shi : > On 12/07/2012 08:56 AM, Frederic Weisbecker wrote: >> 2012/12/3 Alex Shi : >>> There is 4 situations in the function: >>> 1, no task allowed group; >>> so min_load = ULONG_MAX, this_load = 0, idlest = NULL >>> 2, only local group task allowed; >>> so min_load

Re: [PATCH 02/10] sched: fix find_idlest_group mess logical

2012-12-07 Thread Frederic Weisbecker
2012/12/7 Alex Shi alex@intel.com: On 12/07/2012 08:56 AM, Frederic Weisbecker wrote: 2012/12/3 Alex Shi alex@intel.com: There is 4 situations in the function: 1, no task allowed group; so min_load = ULONG_MAX, this_load = 0, idlest = NULL 2, only local group task allowed;

Re: [PATCH 02/10] sched: fix find_idlest_group mess logical

2012-12-06 Thread Alex Shi
On 12/07/2012 08:56 AM, Frederic Weisbecker wrote: > 2012/12/3 Alex Shi : >> There is 4 situations in the function: >> 1, no task allowed group; >> so min_load = ULONG_MAX, this_load = 0, idlest = NULL >> 2, only local group task allowed; >> so min_load = ULONG_MAX, this_load

Re: [PATCH 02/10] sched: fix find_idlest_group mess logical

2012-12-06 Thread Frederic Weisbecker
2012/12/3 Alex Shi : > There is 4 situations in the function: > 1, no task allowed group; > so min_load = ULONG_MAX, this_load = 0, idlest = NULL > 2, only local group task allowed; > so min_load = ULONG_MAX, this_load assigned, idlest = NULL > 3, only non-local task group allowed;

Re: [PATCH 02/10] sched: fix find_idlest_group mess logical

2012-12-06 Thread Frederic Weisbecker
2012/12/3 Alex Shi alex@intel.com: There is 4 situations in the function: 1, no task allowed group; so min_load = ULONG_MAX, this_load = 0, idlest = NULL 2, only local group task allowed; so min_load = ULONG_MAX, this_load assigned, idlest = NULL 3, only non-local task

Re: [PATCH 02/10] sched: fix find_idlest_group mess logical

2012-12-06 Thread Alex Shi
On 12/07/2012 08:56 AM, Frederic Weisbecker wrote: 2012/12/3 Alex Shi alex@intel.com: There is 4 situations in the function: 1, no task allowed group; so min_load = ULONG_MAX, this_load = 0, idlest = NULL 2, only local group task allowed; so min_load = ULONG_MAX,

[PATCH 02/10] sched: fix find_idlest_group mess logical

2012-12-03 Thread Alex Shi
There is 4 situations in the function: 1, no task allowed group; so min_load = ULONG_MAX, this_load = 0, idlest = NULL 2, only local group task allowed; so min_load = ULONG_MAX, this_load assigned, idlest = NULL 3, only non-local task group allowed; so min_load assigned,

[PATCH 02/10] sched: fix find_idlest_group mess logical

2012-12-03 Thread Alex Shi
There is 4 situations in the function: 1, no task allowed group; so min_load = ULONG_MAX, this_load = 0, idlest = NULL 2, only local group task allowed; so min_load = ULONG_MAX, this_load assigned, idlest = NULL 3, only non-local task group allowed; so min_load assigned,