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

2012-12-11 Thread Alex Shi
On 12/11/2012 01:50 PM, Preeti U Murthy wrote: > Hi Alex, > On 12/11/2012 10:59 AM, Alex Shi wrote: >> On 12/11/2012 01:08 PM, Preeti U Murthy wrote: >>> Hi Alex, >>> >>> On 12/10/2012 01:52 PM, Alex Shi wrote: There is 4 situations in the function: 1, no task allowed group; so

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

2012-12-11 Thread Alex Shi
On 12/11/2012 01:50 PM, Preeti U Murthy wrote: Hi Alex, On 12/11/2012 10:59 AM, Alex Shi wrote: On 12/11/2012 01:08 PM, Preeti U Murthy wrote: Hi Alex, On 12/10/2012 01:52 PM, Alex Shi wrote: There is 4 situations in the function: 1, no task allowed group; so min_load = ULONG_MAX,

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

2012-12-10 Thread Preeti U Murthy
Hi Alex, On 12/11/2012 10:59 AM, Alex Shi wrote: > On 12/11/2012 01:08 PM, Preeti U Murthy wrote: >> Hi Alex, >> >> On 12/10/2012 01:52 PM, Alex Shi wrote: >>> There is 4 situations in the function: >>> 1, no task allowed group; >>> so min_load = ULONG_MAX, this_load = 0, idlest = NULL >>> 2,

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

2012-12-10 Thread Alex Shi
On 12/11/2012 01:08 PM, Preeti U Murthy wrote: > Hi Alex, > > On 12/10/2012 01:52 PM, Alex Shi wrote: >> 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/18] sched: fix find_idlest_group mess logical

2012-12-10 Thread Preeti U Murthy
Hi Alex, On 12/10/2012 01:52 PM, Alex Shi wrote: > 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

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

2012-12-10 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/18] sched: fix find_idlest_group mess logical

2012-12-10 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,

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

2012-12-10 Thread Preeti U Murthy
Hi Alex, On 12/10/2012 01:52 PM, Alex Shi wrote: 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

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

2012-12-10 Thread Alex Shi
On 12/11/2012 01:08 PM, Preeti U Murthy wrote: Hi Alex, On 12/10/2012 01:52 PM, Alex Shi wrote: 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,

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

2012-12-10 Thread Preeti U Murthy
Hi Alex, On 12/11/2012 10:59 AM, Alex Shi wrote: On 12/11/2012 01:08 PM, Preeti U Murthy wrote: Hi Alex, On 12/10/2012 01:52 PM, Alex Shi wrote: 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