Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-12 Thread Vincent Guittot
On 11 April 2013 16:56, Frederic Weisbecker wrote: > On Wed, Apr 03, 2013 at 03:37:43PM +0200, Vincent Guittot wrote: >> On my smp platform which is made of 5 cores in 2 clusters, I have the >> nr_busy_cpu field of sched_group_power struct that is not null when the >> platform is fully idle. The

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-12 Thread Vincent Guittot
On 11 April 2013 16:56, Frederic Weisbecker fweis...@gmail.com wrote: On Wed, Apr 03, 2013 at 03:37:43PM +0200, Vincent Guittot wrote: On my smp platform which is made of 5 cores in 2 clusters, I have the nr_busy_cpu field of sched_group_power struct that is not null when the platform is fully

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-11 Thread Frederic Weisbecker
On Wed, Apr 03, 2013 at 03:37:43PM +0200, Vincent Guittot wrote: > On my smp platform which is made of 5 cores in 2 clusters, I have the > nr_busy_cpu field of sched_group_power struct that is not null when the > platform is fully idle. The root cause is: > During the boot sequence, some CPUs

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-11 Thread Frederic Weisbecker
On Wed, Apr 03, 2013 at 03:37:43PM +0200, Vincent Guittot wrote: On my smp platform which is made of 5 cores in 2 clusters, I have the nr_busy_cpu field of sched_group_power struct that is not null when the platform is fully idle. The root cause is: During the boot sequence, some CPUs reach

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-10 Thread Vincent Guittot
On 9 April 2013 14:45, Frederic Weisbecker wrote: > 2013/4/4 Vincent Guittot : >> On 4 April 2013 19:07, Frederic Weisbecker wrote: >>> Is it possible that we can be dealing here with a >>> sched_group/sched_group_power that is used on another CPU (from that >>> CPU's rq->rq_sd->sd)

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-10 Thread Vincent Guittot
On 9 April 2013 14:45, Frederic Weisbecker fweis...@gmail.com wrote: 2013/4/4 Vincent Guittot vincent.guit...@linaro.org: On 4 April 2013 19:07, Frederic Weisbecker fweis...@gmail.com wrote: Is it possible that we can be dealing here with a sched_group/sched_group_power that is used on another

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-09 Thread Frederic Weisbecker
2013/4/4 Vincent Guittot : > On 4 April 2013 19:07, Frederic Weisbecker wrote: >> Is it possible that we can be dealing here with a >> sched_group/sched_group_power that is used on another CPU (from that >> CPU's rq->rq_sd->sd) concurrently? >> When we call build_sched_groups(), we might reuse an

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-09 Thread Vincent Guittot
On 4 April 2013 19:30, Vincent Guittot wrote: > On 4 April 2013 19:07, Frederic Weisbecker wrote: >> 2013/4/3 Vincent Guittot : >>> On my smp platform which is made of 5 cores in 2 clusters, I have the >>> nr_busy_cpu field of sched_group_power struct that is not null when the >>> platform is

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-09 Thread Vincent Guittot
On 4 April 2013 19:30, Vincent Guittot vincent.guit...@linaro.org wrote: On 4 April 2013 19:07, Frederic Weisbecker fweis...@gmail.com wrote: 2013/4/3 Vincent Guittot vincent.guit...@linaro.org: On my smp platform which is made of 5 cores in 2 clusters, I have the nr_busy_cpu field of

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-09 Thread Frederic Weisbecker
2013/4/4 Vincent Guittot vincent.guit...@linaro.org: On 4 April 2013 19:07, Frederic Weisbecker fweis...@gmail.com wrote: Is it possible that we can be dealing here with a sched_group/sched_group_power that is used on another CPU (from that CPU's rq-rq_sd-sd) concurrently? When we call

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-04 Thread Vincent Guittot
On 4 April 2013 19:07, Frederic Weisbecker wrote: > 2013/4/3 Vincent Guittot : >> On my smp platform which is made of 5 cores in 2 clusters, I have the >> nr_busy_cpu field of sched_group_power struct that is not null when the >> platform is fully idle. The root cause is: >> During the boot

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-04 Thread Frederic Weisbecker
2013/4/3 Vincent Guittot : > On my smp platform which is made of 5 cores in 2 clusters, I have the > nr_busy_cpu field of sched_group_power struct that is not null when the > platform is fully idle. The root cause is: > During the boot sequence, some CPUs reach the idle loop and set their >

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-04 Thread Frederic Weisbecker
2013/4/4 Frederic Weisbecker : > 2013/4/3 Vincent Guittot : >> On my smp platform which is made of 5 cores in 2 clusters, I have the >> nr_busy_cpu field of sched_group_power struct that is not null when the >> platform is fully idle. The root cause is: >> During the boot sequence, some CPUs reach

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-04 Thread Frederic Weisbecker
2013/4/3 Vincent Guittot : > On my smp platform which is made of 5 cores in 2 clusters, I have the > nr_busy_cpu field of sched_group_power struct that is not null when the > platform is fully idle. The root cause is: > During the boot sequence, some CPUs reach the idle loop and set their >

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-04 Thread Frederic Weisbecker
2013/4/3 Vincent Guittot vincent.guit...@linaro.org: On my smp platform which is made of 5 cores in 2 clusters, I have the nr_busy_cpu field of sched_group_power struct that is not null when the platform is fully idle. The root cause is: During the boot sequence, some CPUs reach the idle loop

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-04 Thread Frederic Weisbecker
2013/4/4 Frederic Weisbecker fweis...@gmail.com: 2013/4/3 Vincent Guittot vincent.guit...@linaro.org: On my smp platform which is made of 5 cores in 2 clusters, I have the nr_busy_cpu field of sched_group_power struct that is not null when the platform is fully idle. The root cause is: During

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-04 Thread Frederic Weisbecker
2013/4/3 Vincent Guittot vincent.guit...@linaro.org: On my smp platform which is made of 5 cores in 2 clusters, I have the nr_busy_cpu field of sched_group_power struct that is not null when the platform is fully idle. The root cause is: During the boot sequence, some CPUs reach the idle loop

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-04 Thread Vincent Guittot
On 4 April 2013 19:07, Frederic Weisbecker fweis...@gmail.com wrote: 2013/4/3 Vincent Guittot vincent.guit...@linaro.org: On my smp platform which is made of 5 cores in 2 clusters, I have the nr_busy_cpu field of sched_group_power struct that is not null when the platform is fully idle. The

[PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-03 Thread Vincent Guittot
On my smp platform which is made of 5 cores in 2 clusters, I have the nr_busy_cpu field of sched_group_power struct that is not null when the platform is fully idle. The root cause is: During the boot sequence, some CPUs reach the idle loop and set their NOHZ_IDLE flag while waiting for others

[PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-03 Thread Vincent Guittot
On my smp platform which is made of 5 cores in 2 clusters, I have the nr_busy_cpu field of sched_group_power struct that is not null when the platform is fully idle. The root cause is: During the boot sequence, some CPUs reach the idle loop and set their NOHZ_IDLE flag while waiting for others