Re: [PATCH 01/10] sched: select_task_rq_fair clean up

2012-12-06 Thread Alex Shi
On 12/07/2012 09:02 AM, Frederic Weisbecker wrote: > 2012/12/7 Alex Shi : >> On 12/07/2012 01:50 AM, Frederic Weisbecker wrote: >>> 2012/12/3 Alex Shi : It is impossible to miss a task allowed cpu in a eligible group. And since find_idlest_group only return a different group which

Re: [PATCH 01/10] sched: select_task_rq_fair clean up

2012-12-06 Thread Frederic Weisbecker
2012/12/7 Alex Shi : > On 12/07/2012 01:50 AM, Frederic Weisbecker wrote: >> 2012/12/3 Alex Shi : >>> It is impossible to miss a task allowed cpu in a eligible group. >>> >>> And since find_idlest_group only return a different group which >>> excludes old cpu, it's also imporissible to find a new

Re: [PATCH 01/10] sched: select_task_rq_fair clean up

2012-12-06 Thread Alex Shi
On 12/07/2012 01:50 AM, Frederic Weisbecker wrote: > 2012/12/3 Alex Shi : >> It is impossible to miss a task allowed cpu in a eligible group. >> >> And since find_idlest_group only return a different group which >> excludes old cpu, it's also imporissible to find a new cpu same as old >> cpu. > >

Re: [PATCH 01/10] sched: select_task_rq_fair clean up

2012-12-06 Thread Frederic Weisbecker
2012/12/3 Alex Shi : > It is impossible to miss a task allowed cpu in a eligible group. > > And since find_idlest_group only return a different group which > excludes old cpu, it's also imporissible to find a new cpu same as old > cpu. Is it possible for weighted_cpuload() to return ULONG_MAX? If

Re: [PATCH 01/10] sched: select_task_rq_fair clean up

2012-12-06 Thread Frederic Weisbecker
2012/12/3 Alex Shi alex@intel.com: It is impossible to miss a task allowed cpu in a eligible group. And since find_idlest_group only return a different group which excludes old cpu, it's also imporissible to find a new cpu same as old cpu. Is it possible for weighted_cpuload() to return

Re: [PATCH 01/10] sched: select_task_rq_fair clean up

2012-12-06 Thread Alex Shi
On 12/07/2012 01:50 AM, Frederic Weisbecker wrote: 2012/12/3 Alex Shi alex@intel.com: It is impossible to miss a task allowed cpu in a eligible group. And since find_idlest_group only return a different group which excludes old cpu, it's also imporissible to find a new cpu same as old

Re: [PATCH 01/10] sched: select_task_rq_fair clean up

2012-12-06 Thread Frederic Weisbecker
2012/12/7 Alex Shi alex@intel.com: On 12/07/2012 01:50 AM, Frederic Weisbecker wrote: 2012/12/3 Alex Shi alex@intel.com: It is impossible to miss a task allowed cpu in a eligible group. And since find_idlest_group only return a different group which excludes old cpu, it's also

Re: [PATCH 01/10] sched: select_task_rq_fair clean up

2012-12-06 Thread Alex Shi
On 12/07/2012 09:02 AM, Frederic Weisbecker wrote: 2012/12/7 Alex Shi alex@intel.com: On 12/07/2012 01:50 AM, Frederic Weisbecker wrote: 2012/12/3 Alex Shi alex@intel.com: It is impossible to miss a task allowed cpu in a eligible group. And since find_idlest_group only return a

[PATCH 01/10] sched: select_task_rq_fair clean up

2012-12-03 Thread Alex Shi
It is impossible to miss a task allowed cpu in a eligible group. And since find_idlest_group only return a different group which excludes old cpu, it's also imporissible to find a new cpu same as old cpu. Signed-off-by: Alex Shi --- kernel/sched/fair.c |5 - 1 files changed, 0

[PATCH 01/10] sched: select_task_rq_fair clean up

2012-12-03 Thread Alex Shi
It is impossible to miss a task allowed cpu in a eligible group. And since find_idlest_group only return a different group which excludes old cpu, it's also imporissible to find a new cpu same as old cpu. Signed-off-by: Alex Shi alex@intel.com --- kernel/sched/fair.c |5 - 1 files